Commit c401b28c by 胡悦

修复编辑回显问题

1 parent 0dc1cab8
......@@ -416,8 +416,9 @@ export default {
this.treeData = _.cloneDeep(res.data)
this.treeData.forEach((i, idx) => {
const arr = data.responseList[idx]
const idList = arr.menuIdList.concat(arr.functionIdList)
// setCheckedKeys全选的接口,
this.$refs[`tree${idx}`][0].setCheckedKeys(arr.menuIdList)
this.$refs[`tree${idx}`][0].setCheckedKeys(idList)
})
this.$nextTick(() => {
this.addStyle()
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!