Commit e2273f87 by caoyanzhi

Merge branch 'feature/4月-菜单和权限' into dev

parents a15449a2 5eeec262
......@@ -63,10 +63,10 @@ export default {
if (errorCode != 1) {
return errorMsg.errorMsg(res.data);
}
let { allList, open, clerkEditInfo } = result || {};
open = Array.isArray(open) ? open : [];
let { allList, clerkEditInfo } = result || {};
allList = Array.isArray(allList) ? allList : [];
this.allApps = allList;
this.settingData.checked = open.map(el => el.applicationId);
this.settingData.checked = allList.filter(el => el.openFlag == 1).map(el => el.applicationId);
Object.assign(this.settingData, clerkEditInfo);
});
},
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment