|
@@ -52,20 +52,34 @@ export const constantRoutes = [
|
|
|
component: (resolve) => require(['@/views/error/401'], resolve),
|
|
|
hidden: true
|
|
|
},
|
|
|
- {
|
|
|
- path: '',
|
|
|
+{
|
|
|
+ path: '',
|
|
|
component: Layout,
|
|
|
- redirect: 'query',
|
|
|
- hidden: true,
|
|
|
- // children: [
|
|
|
- // {
|
|
|
- // path: 'index',
|
|
|
- // component: (resolve) => require(['@/views/index'], resolve),
|
|
|
- // name: '首页',
|
|
|
- // meta: { title: '首页', icon: 'dashboard', noCache: true, affix: true }
|
|
|
- // }
|
|
|
- // ]
|
|
|
- },
|
|
|
+ redirect: 'index',
|
|
|
+ hidden: true,
|
|
|
+ children: [
|
|
|
+ {
|
|
|
+ path: 'index',
|
|
|
+ component: (resolve) => require(['@/views/price/manage/hz50'], resolve),
|
|
|
+ name: '机组报价50hz',
|
|
|
+ meta: { title: '机组报价50hz', icon: 'dashboard', noCache: true, affix: true }
|
|
|
+}
|
|
|
+]
|
|
|
+},
|
|
|
+ // {
|
|
|
+ // path: '',
|
|
|
+ // component: Layout,
|
|
|
+ // //redirect: 'query',
|
|
|
+ // hidden: true,
|
|
|
+ // children: [
|
|
|
+ // {
|
|
|
+ // path: 'index',
|
|
|
+ // component: (resolve) => require(['@/views/index'], resolve),
|
|
|
+ // name: '首页',
|
|
|
+ // meta: { title: '首页', icon: 'dashboard', noCache: true, affix: true }
|
|
|
+ // }
|
|
|
+ // ]
|
|
|
+ // },
|
|
|
{
|
|
|
path: '/user',
|
|
|
component: Layout,
|