Browse Source

路由缓存
用户管理允许选择任何节点

Qukatie 5 days ago
parent
commit
c0b42a9061
2 changed files with 29 additions and 15 deletions
  1. 27 13
      src/router/views/index.js
  2. 2 2
      src/views/system/user.vue

+ 27 - 13
src/router/views/index.js

@@ -2784,7 +2784,7 @@ export default [{
     },
     component: () => import( /* webpackChunkName: "views" */ '@/views/tirePartsMall/basicData/shareListing/index')
   }]
-},{
+}, {
   path: '/tirePartsMall/basicData/shareListingNext/index',
   component: Layout,
   hidden: true,
@@ -4157,17 +4157,31 @@ export default [{
     },
     component: () => import( /* webpackChunkName: "views" */ '@/views/storehouse/outStockManage/outStockPlan/index')
   }]
-}, {
-        path: '/storehouse/inventoryManage/inventory/detail',
-        component: Layout,
-        hidden: true,
-        children: [{
-            path: '/storehouse/inventoryManage/inventory/detail',
-            name: '中心仓出入明细',
-            meta: {
-                keepAlive: true,
-            },
-            component: () => import( /* webpackChunkName: "views" */ '@/views/storehouse/inventoryManage/inventory/detail')
-        }]
+},
+{
+  path: '/storehouse/inventoryManage/inventory/detail',
+  component: Layout,
+  hidden: true,
+  children: [{
+    path: '/storehouse/inventoryManage/inventory/detail',
+    name: '中心仓出入明细',
+    meta: {
+      keepAlive: true,
     },
+    component: () => import( /* webpackChunkName: "views" */ '@/views/storehouse/inventoryManage/inventory/detail')
+  }]
+},
+{
+  path: '/storehouse/inventoryManage/inventory/index',
+  component: Layout,
+  hidden: true,
+  children: [{
+    path: '/storehouse/inventoryManage/inventory/index',
+    name: '库存查询',
+    meta: {
+      keepAlive: true,
+    },
+    component: () => import( /* webpackChunkName: "views" */ '@/views/storehouse/inventoryManage/inventory/index')
+  }]
+},
 ]

+ 2 - 2
src/views/system/user.vue

@@ -528,8 +528,8 @@ export default {
                 props: {
                   label: "title"
                 },
-                // checkStrictly: true,
-                leafOnly: true,
+                checkStrictly: true,
+                // leafOnly: true,
                 slot: true,
                 rules: [{
                   required: true,