Эх сурвалжийг харах

feat: qiankun子应用改造5

cuiyalong 3 сар өмнө
parent
commit
f9cd43553a
1 өөрчлөгдсөн 1 нэмэгдсэн , 1 устгасан
  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]
 });