|
@@ -8,6 +8,10 @@ VueRouter.prototype.push = function push(location) {
|
|
|
};
|
|
|
Vue.use(VueRouter);
|
|
|
const web = [
|
|
|
+ {
|
|
|
+ path: '/',
|
|
|
+ redirect: '/adminCenter/homeIndex',
|
|
|
+ },
|
|
|
// 管理登录
|
|
|
{
|
|
|
path: '/login',
|
|
@@ -17,7 +21,7 @@ const web = [
|
|
|
},
|
|
|
// 管理中心
|
|
|
{
|
|
|
- path: '/adminCenter/homeIndex',
|
|
|
+ path: '/',
|
|
|
name: 'adminCenter',
|
|
|
component: () => import('@frame/src/components/admin-frame/Home.vue'),
|
|
|
children: [
|