浏览代码

feat: 解决,服务管理,标签分类,翻页面,回到之前界面数据不刷新

332777428@qq.com 2 月之前
父节点
当前提交
b9d31c27b1
共有 2 个文件被更改,包括 20 次插入18 次删除
  1. 18 17
      src/router/index.js
  2. 2 1
      src/views/operation/tag/index.vue

+ 18 - 17
src/router/index.js

@@ -501,6 +501,24 @@ export const dynamicRoutes = [
   },
 
 
+    // 标签分类
+  {
+    name: 'operationTag',
+    path: '/operation',
+    component: Layout,
+    hidden: true,
+    permissions: ['operation:tag:list'],
+    children: [{
+      name: 'operationTagDetail',
+      path: 'tag/detail',
+      component: () => import('@/views/operation/tag/detail'),
+      meta: {
+        title: '标签详情',
+        activeMenu: '/operation/tag'
+      }
+    }]
+  },
+
 
 
 
@@ -684,23 +702,6 @@ export const dynamicRoutes = [
   // },
 
 
-  // 标签分类
-  {
-    path: '/operation',
-    component: Layout,
-    hidden: true,
-    permissions: ['operation:tag:list'],
-    name: 'tag',
-    children: [{
-      path: 'tag/detail',
-      component: () => import('@/views/operation/tag/detail'),
-      name: 'tagDetail',
-      meta: {
-        title: '标签详情',
-        activeMenu: '/operation/tag'
-      }
-    }]
-  },
   // 唤醒音
   {
     path: '/operation',

+ 2 - 1
src/views/operation/tag/index.vue

@@ -1,4 +1,4 @@
-<!-- 标签分类 -->
+<!-- 运营管理 标签分类 -->
 <template>
   <div class="app-container">
     <!-- 搜索 -->
@@ -182,6 +182,7 @@ submitSecond,
 import { disabledMixin } from "@/mixin/index";
 import { dialogCallBack } from "@/utils/DialogUtil";
 export default {
+  name:"OperationTag",
   mixins: [disabledMixin],
   data() {
     return {