Переглянути джерело

Merge branch 'develop/3.1.5' into test

DESKTOP-SVI9JE1\muzen 1 рік тому
батько
коміт
69d5816509
2 змінених файлів з 3 додано та 3 видалено
  1. 2 2
      src/router/index.js
  2. 1 1
      src/views/device/list/index.vue

+ 2 - 2
src/router/index.js

@@ -209,12 +209,12 @@ export const dynamicRoutes = [{
   permissions: ['device:list:list'],
   name: 'deviceList',
   children: [{
-    path: 'list/detail',
+    path: 'deviceList/detail',
     component: () => import('@/views/device/list/detail'),
     name: 'deviceListDetail',
     meta: {
       title: '设备详情',
-      activeMenu: '/device/DeviceList'
+      activeMenu: '/device/deviceList'
     }
   }]
 },

+ 1 - 1
src/views/device/list/index.vue

@@ -162,7 +162,7 @@ export default {
     // 新增 / 编辑 / 查看
     getChange(id, boolean) {
       this.$router.push({
-        path: `/device/list/detail`,
+        path: `/device/deviceList/detail`,
         query: {
           id: id,
           boolean: boolean