소스 검색

乾坤 子应用修改

quwangxin 3 년 전
부모
커밋
ca1196e239
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      src/router/index.js

+ 1 - 1
src/router/index.js

@@ -12,7 +12,7 @@ import { routes, getMenuRoutes } from './routes';
 Vue.use(VueRouter);
 
 const router = new VueRouter({
-  base: window.__POWERED_BY_QIANKUN__ ? '/page-main-data' : '/main-data',
+  base: window.__POWERED_BY_QIANKUN__ ? '/page-main-data/' : '/main-data/',
   routes,
   mode: 'history',
   scrollBehavior () {