角色权限 配置页 勾选框闪动问题

This commit is contained in:
qinoy 2023-08-23 16:36:38 +08:00
parent 99a0f041df
commit a8e56a2644

View File

@ -457,8 +457,12 @@
node.loaded = false;
},
checkedNode(data, checked, subChecked) {//
if (data.leaf){ //
return;
}
//
const that = this;
that.loading = true;
const params = {
url:'jd',
data:{
@ -550,7 +554,8 @@
}
})
that.checkAllProcess = num == that.teamPermFileSize;
that.loading = false;
console.log('计算全选按钮', that.teamPermFileSize, '实际勾选', num);
}).catch(error=>{
console.log(error);
})
@ -645,6 +650,7 @@
checkAllProcessChange(value){
const that = this;
that.loading = true;
if (value){//
const params = {
url:'jd',
@ -666,6 +672,8 @@
}
}
that.$refs.tree.setCheckedKeys(checkedVerIds);
that.loading = false;
}).catch(error=>{
console.log(error);
})