|
|
@@ -97,7 +97,7 @@ export const constantRoutes = [ |
|
|
|
// { path: '*', redirect: '/404', hidden: true } |
|
|
|
] |
|
|
|
const createRouter = () => new Router({ |
|
|
|
base: window.__POWERED_BY_QIANKUN__ ? '/vdcop_auth/admin' : '/admin', |
|
|
|
base: '/', |
|
|
|
mode: 'history', // require service support |
|
|
|
scrollBehavior: () => ({ y: 0 }), |
|
|
|
routes: constantRoutes |
|
|
|