lxr 2 هفته پیش
والد
کامیت
ca101d62ce
1فایلهای تغییر یافته به همراه7 افزوده شده و 7 حذف شده
  1. 7 7
      src/views/accountRoleManagement/roleManagement/create.vue

+ 7 - 7
src/views/accountRoleManagement/roleManagement/create.vue

@@ -146,13 +146,13 @@ const transformMenuData = (menuList: MenuItem[]): any[] => {
       node.children = transformMenuData(menu.children);
     }
     // 判断是否是门店装修
-    if (localGet("storeTickets") == 0) {
-      if (menu.menuName === "门店装修") {
-        node.disabled = true;
-        node.disableByStoreDecorate = true;
-        if (node.children?.length) setStoreDecorateDisabledRecursive(node.children);
-      }
-    }
+    // if (localGet("storeTickets") == 0) {
+    //   if (menu.menuName === "门店装修") {
+    //     node.disabled = true;
+    //     node.disableByStoreDecorate = true;
+    //     if (node.children?.length) setStoreDecorateDisabledRecursive(node.children);
+    //   }
+    // }
 
     return node;
   });