fanghuisheng 3 năm trước cách đây
mục cha
commit
ddf4ba8863
1 tập tin đã thay đổi với 0 bổ sung28 xóa
  1. 0 28
      src/store/modules/routes.js

+ 0 - 28
src/store/modules/routes.js

@@ -43,34 +43,6 @@ const actions = {
      */
     async setAllRoutes({ commit }) {
         let { data } = await getRouterList()
-        // let data = [
-        //     {
-        //         path: 'external-link',
-        //         component: "Layout",
-        //         children: [{
-        //             path: '/home',
-        //             meta: { title: '首页', icon: 'home', }
-        //         }]
-        //     },
-        //     {
-        //         path: '/',
-        //         redirect: '/alarmManage/index',
-        //         meta: {
-        //             title: '告警管理',
-        //             icon: 'alarmManage',
-        //             affix: true,
-        //         },
-        //         component: "Layout",
-        //         children: [{
-        //             meta: {
-        //                 title: '告警管理',
-        //                 icon: 'alarmManage',
-        //             },
-        //             path: '/alarmManage/index',
-        //             component: '@/views/alarmManage/index',
-        //         },]
-        //     }
-        // ]
 
         if (data[data.length - 1].path !== '*')
             data.push({ path: '/*', redirect: '/404', hidden: true })