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

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

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

+ 22 - 17
src/router/index.js

@@ -425,6 +425,27 @@ export const dynamicRoutes = [
     }]
   },
 
+    //****************** 运营管理 *******************//
+
+  // 启动页
+  {
+    name: 'operationStartPage',
+    path: '/operation',
+    component: Layout,
+    hidden: true,
+    permissions: ['operation:startPage:list'],
+    children: [{
+      name: 'operationStartPageDetail',
+      path: 'startPage/detail',
+      component: () => import('@/views/operation/startPage/detail'),
+   
+      meta: {
+        title: '启动页详情',
+        activeMenu: '/operation/startPage'
+      }
+    }]
+  },
+
 
 
 
@@ -536,23 +557,7 @@ export const dynamicRoutes = [
       }
     }]
   },
-  // 运营管理
-  // 启动页
-  {
-    path: '/operation',
-    component: Layout,
-    hidden: true,
-    permissions: ['operation:startPage:list'],
-    children: [{
-      path: 'startPage/detail',
-      component: () => import('@/views/operation/startPage/detail'),
-      name: 'startPageDetail',
-      meta: {
-        title: '启动页详情',
-        activeMenu: '/operation/startPage'
-      }
-    }]
-  },
+
 
   // 说明书管理详情
   {

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

@@ -102,6 +102,7 @@ import { page, remove } from "@/api/operation/startPage";
 import { currentMixin } from "@/mixin/index";
 import { dialogCallBack } from "@/utils/DialogUtil";
 export default {
+  name:"OperationStartPage",
   mixins: [currentMixin],
   data() {
     return {