|
@@ -12,7 +12,7 @@ import { routes, getMenuRoutes } from './routes';
|
|
|
Vue.use(VueRouter);
|
|
Vue.use(VueRouter);
|
|
|
|
|
|
|
|
const router = new 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,
|
|
routes,
|
|
|
mode: 'history',
|
|
mode: 'history',
|
|
|
scrollBehavior () {
|
|
scrollBehavior () {
|