Ver código fonte

修改路由配置

hongrunxia 3 meses atrás
pai
commit
ad4f7c732c
2 arquivos alterados com 12 adições e 1 exclusões
  1. 11 0
      src/router/routes/basic.ts
  2. 1 1
      src/utils/threejs/util.ts

+ 11 - 0
src/router/routes/basic.ts

@@ -86,6 +86,17 @@ export const QIANKUN_ROUTE: AppRouteRecordRaw = {
       },
       ver: '1',
     },
+    {
+      path: '/micro-need-air/:path(.*)*',
+      name: QIANKUN_ROUTE_NAME,
+      component: QIANKUN_COMPONENT,
+      meta: {
+        title: '子应用',
+        hideBreadcrumb: true,
+        hideMenu: true,
+      },
+      ver: '1',
+    },
   ],
   ver: '1',
 };

+ 1 - 1
src/utils/threejs/util.ts

@@ -350,7 +350,7 @@ export const animateCamera = (oldP, oldT, newP, newT, model, duration = 0.5, cal
         ease: 'easeOutBounce',
         onUpdate: function (object) {
           // 这里写逻辑
-          debugger;
+          // debugger;
           camera.position.set(object.x1, object.y1, object.z1);
           controls.target.set(object.x2, object.y2, object.z2);
           controls.update();