Przeglądaj źródła

modified: admin-content/src/store/index.js

asd123a20 2 lat temu
rodzic
commit
cf74acd5b9
1 zmienionych plików z 1 dodań i 1 usunięć
  1. 1 1
      admin-content/src/store/index.js

+ 1 - 1
admin-content/src/store/index.js

@@ -61,7 +61,7 @@ const mutations = {
   },
   menusQuery(state, payload) {
     state.menusList = payload.data;
-    state.dict.menus = payload.data.filter(e => e.parentCode !== 'null' && e.type == 1);
+    state.dict.menus = payload.data.filter(e => e.type == 1);
   },
   userQuery(state, payload) {
     state.userList = payload.data.map(e => e.userList[0]);