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

feat: 解决,服务管理,唤醒音,翻页面,回到之前界面数据不刷新

332777428@qq.com 2 місяців тому
батько
коміт
9ba5d2efa4
2 змінених файлів з 23 додано та 17 видалено
  1. 22 17
      src/router/index.js
  2. 1 0
      src/views/operation/waken/index.vue

+ 22 - 17
src/router/index.js

@@ -519,6 +519,27 @@ export const dynamicRoutes = [
     }]
   },
 
+  // 唤醒音
+  {
+    name: 'operationWaken',
+    path: '/operation',
+    component: Layout,
+    hidden: true,
+    permissions: ['operation:waken:list'],
+    children: [{
+      name: 'operationWakenDetail',
+      path: 'waken/detail',
+      component: () => import('@/views/operation/waken/detail'),
+      meta: {
+        title: '唤醒音详情',
+        activeMenu: '/operation/waken'
+      }
+    }]
+  },
+
+
+
+
 
 
 
@@ -702,23 +723,7 @@ export const dynamicRoutes = [
   // },
 
 
-  // 唤醒音
-  {
-    path: '/operation',
-    component: Layout,
-    hidden: true,
-    permissions: ['operation:waken:list'],
-    name: 'waken',
-    children: [{
-      path: 'waken/detail',
-      component: () => import('@/views/operation/waken/detail'),
-      name: 'wakenDetail',
-      meta: {
-        title: '唤醒音详情',
-        activeMenu: '/operation/waken'
-      }
-    }]
-  },
+
   // 场景专区
   {
     path: '/operation',

+ 1 - 0
src/views/operation/waken/index.vue

@@ -59,6 +59,7 @@
 import { devices, list, remove } from "@/api/operation/waken";
 import { dialogCallBack } from "@/utils/DialogUtil";
 export default {
+  name:"OperationWaken",
   data() {
     return {
       // 遮罩层