!107 【修改】角色菜单集合复选框回显不正确

Merge pull request !107 from @C/master
pull/2/head
芋道源码 2022-03-23 07:50:11 +00:00 committed by Gitee
commit 20548da999
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F
1 changed files with 10 additions and 9 deletions

View File

@ -392,16 +392,17 @@ export default {
// menuOptions // menuOptions
this.menuOptions = []; this.menuOptions = [];
this.menuOptions.push(...this.handleTree(response.data, "id")); this.menuOptions.push(...this.handleTree(response.data, "id"));
//
listRoleMenus(id).then(response => {
//
this.form.menuCheckStrictly = true
//
this.$refs.menu.setCheckedKeys(response.data);
// 使
this.form.menuCheckStrictly = false
})
}); });
//
listRoleMenus(id).then(response => {
//
this.form.menuCheckStrictly = true
//
this.$refs.menu.setCheckedKeys(response.data);
// 使
this.form.menuCheckStrictly = false
})
}, },
/** 分配数据权限操作 */ /** 分配数据权限操作 */
handleDataScope(row) { handleDataScope(row) {