소스 검색

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

asd123a20 2 년 전
부모
커밋
cf74acd5b9
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  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]);