Ver código fonte

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

332777428@qq.com 2 meses atrás
pai
commit
78cd111006
2 arquivos alterados com 21 adições e 19 exclusões
  1. 20 19
      src/router/index.js
  2. 1 0
      src/views/operation/map/index.vue

+ 20 - 19
src/router/index.js

@@ -612,6 +612,26 @@ export const dynamicRoutes = [
     }]
   },
 
+    // 门店管理
+  {
+    name: 'operationMap',
+    path: '/operation',
+    component: Layout,
+    hidden: true,
+    permissions: ['operation:map:list'],
+    children: [{
+      name: 'operationMapDetail',
+      path: 'map/detail',
+      component: () => import('@/views/operation/map/detail'),
+      meta: {
+        title: '门店详情',
+        activeMenu: '/opertaion/map'
+      }
+    }]
+  },
+
+
+
 
 
 
@@ -814,25 +834,6 @@ export const dynamicRoutes = [
 
 
 
-
-
-  // 门店管理
-  {
-    path: '/operation',
-    component: Layout,
-    hidden: true,
-    permissions: ['operation:map:list'],
-    name: 'map',
-    children: [{
-      path: 'map/detail',
-      component: () => import('@/views/operation/map/detail'),
-      name: 'mapDetail',
-      meta: {
-        title: '门店详情',
-        activeMenu: '/opertaion/map'
-      }
-    }]
-  },
   // 商品管理
   // 商品推荐
   {

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

@@ -129,6 +129,7 @@ import { change, list, remove } from "@/api/operation/map";
 import { mapMixin } from "@/mixin/index";
 import { dialogCallBack } from "@/utils/DialogUtil";
 export default {
+  name:"OperationMap",
   mixins: [mapMixin],
   data() {
     return {