瀏覽代碼

乾坤 子应用修改

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 () {