Commit 63340ef4 by 胡悦

修改route mode

1 parent bbb6661a
...@@ -25,6 +25,7 @@ let instance = null; ...@@ -25,6 +25,7 @@ let instance = null;
function render({ data = {} , container } = {}) { function render({ data = {} , container } = {}) {
router = new VueRouter({ router = new VueRouter({
base: window.__POWERED_BY_QIANKUN__ ? '/system' : '/', base: window.__POWERED_BY_QIANKUN__ ? '/system' : '/',
mode: 'histroy',
routes, routes,
}); });
store.state.baseURL = data.baseURL; store.state.baseURL = data.baseURL;
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!