Przeglądaj źródła

fix:修改演出菜单在三大类的店铺中都显示

zhaohang 1 dzień temu
rodzic
commit
a0b968bb17
1 zmienionych plików z 2 dodań i 2 usunięć
  1. 2 2
      src/stores/modules/auth.ts

+ 2 - 2
src/stores/modules/auth.ts

@@ -114,8 +114,8 @@ export const useAuthStore = defineStore({
                 menu.meta.isHide = !storeId;
                 break;
               case "演出":
-                // 有店铺且为休闲娱乐(businessSection=2) 时显示演出
-                menu.meta.isHide = !storeId || businessSection !== 2;
+                // 有店铺的商家才显示演出
+                menu.meta.isHide = !storeId;
                 break;
               case "门店装修":
                 // 仅父级:子项 decorationManagement 同 title,若在此处理会覆盖 storeTickets 下的 isHide