Browse Source

feat: qiankun子应用改造5

cuiyalong 4 tháng trước cách đây
mục cha
commit
f9cd43553a
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      src/router.js

+ 1 - 1
src/router.js

@@ -178,7 +178,7 @@ routeComponent.keys().forEach(fileName => {
 Vue.use(Router);
 
 const router = new Router({
-    base: window.__POWERED_BY_QIANKUN__ ? window.__QIANKUN_ROUTER_BASE : '',
+    base: window.__POWERED_BY_QIANKUN__ ? window.__QIANKUN_ROUTER_BASE : '/qmx_page_admin',
     mode: 'history',
     routes: [...routes, ...marketRouter]
 });