feat:完成数据权限功能

This commit is contained in:
陈淳
2023-05-22 13:03:09 +08:00
parent 327a7b2a48
commit dcbd729944
5 changed files with 4 additions and 5 deletions

View File

@@ -439,7 +439,7 @@ function getDeptTree(roleId) {
let deptIds = [];
roleDeptTreeselect(roleId).then((response) => {
deptIds = response.data;
deptIds = response.data.map(x=>x.id);
// nextTick(() => {
if (deptRef.value) {
deptRef.value.setCheckedKeys(deptIds);