From 43fca2cb16964496caafdbc34e969d2a7cde7cc0 Mon Sep 17 00:00:00 2001 From: 马宇豪 <978517621@qq.com> Date: 星期四, 30 三月 2023 15:32:56 +0800 Subject: [PATCH] 用户接口 --- src/router/route.ts | 55 +++++++++++++++++++------------------------------------ 1 files changed, 19 insertions(+), 36 deletions(-) diff --git a/src/router/route.ts b/src/router/route.ts index afa1cda..827dd4d 100644 --- a/src/router/route.ts +++ b/src/router/route.ts @@ -13,7 +13,7 @@ { path: '/home', name: 'home', - component: () => import('/@/views/newHome/index.vue'), + component: () => import('/@/views/home/index.vue'), meta: { title: '首页', isLink: '', @@ -22,9 +22,24 @@ isAffix: true, isIframe: false, roles: ['admin', 'common'], - icon: 'iconfont icon-shouye' - } - } + icon: 'iconfont icon-shouye', + }, + }, + { + path: '/test', + name: 'test', + component: () => import('/@/views/test/index.vue'), + meta: { + title: '测试', + isLink: '', + isHide: false, + isKeepAlive: true, + isAffix: true, + isIframe: false, + roles: ['admin', 'common'], + icon: 'iconfont icon-shouye', + }, + }, ] } ]; @@ -80,36 +95,4 @@ isKeepAlive: false } }, - { - path: '/warningScreen', - name: 'warningScreen', - component: () => import('/@/views/riskWarningSys/warningBigScreen/index.vue'), - meta: { - title: '预警预报' - } - }, - { - path: '/msgDetail', - name: 'msgDetail', - component: () => import('/@/views/riskWarningSys/warningBigScreen/indexs/msgDetail.vue'), - meta: { - title: 'spi报告详情' - } - }, - { - path: '/screenPage', - name: 'screenPage', - component: () => import('/@/views/riskWarningSys/warningBigScreen/indexs/index.vue'), - meta: { - title: '预警预报' - } - }, - { - path: '/securities', - name: 'securities', - component: () => import('/@/views/facilityManagement/securities/index.vue'), - meta: { - title: '安全物资与设备' - } - } ]; -- Gitblit v1.9.2