Commit 5eeec262 by caoyanzhi

update: 字段调整

parent fc3ee702
...@@ -63,10 +63,10 @@ export default { ...@@ -63,10 +63,10 @@ export default {
if (errorCode != 1) { if (errorCode != 1) {
return errorMsg.errorMsg(res.data); return errorMsg.errorMsg(res.data);
} }
let { allList, open, clerkEditInfo } = result || {}; let { allList, clerkEditInfo } = result || {};
open = Array.isArray(open) ? open : []; allList = Array.isArray(allList) ? allList : [];
this.allApps = 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); 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