|
|
@@ -12,29 +12,6 @@ import LayoutMain from '@/layout';
|
|
|
import setting from '@/setting';
|
|
|
let routePre = setting.routePre;
|
|
|
|
|
|
-// export default {
|
|
|
-// path: '/',
|
|
|
-// name: 'home',
|
|
|
-// redirect: '/admin/home',
|
|
|
-// component: LayoutMain,
|
|
|
-// meta: {
|
|
|
-// hideInMenu: true,
|
|
|
-// notCache: true,
|
|
|
-// auth: true
|
|
|
-// },
|
|
|
-// children: [
|
|
|
-// {
|
|
|
-// path: 'admin/home',
|
|
|
-// name: 'home',
|
|
|
-// meta: {
|
|
|
-// title: '首页',
|
|
|
-// auth: ['admin-index-index']
|
|
|
-// },
|
|
|
-// component: () => import('@/pages/index/index')
|
|
|
-// }
|
|
|
-// ]
|
|
|
-// }
|
|
|
-
|
|
|
const meta = {
|
|
|
auth: true,
|
|
|
};
|