样式修改

This commit is contained in:
lai
2024-12-20 17:18:16 +08:00
parent e4222e7b03
commit 9b84ff9452
2 changed files with 8 additions and 6 deletions

View File

@@ -814,15 +814,12 @@ function fnGetDeptTree() {
function handleChange(value: any, options: any) {
modalState.from.roleIds = [value];
console.log(modalState.from.roleIds, options.roleKey);
modalState.showTenant = options.roleKey === 'tenant';
// 获取租户树结构数据
if (modalState.showTenant) fnGetDeptTree();
}
function handleDel(value: any, options: any) {
console.log(modalState.from.roleIds, options.roleKey);
modalState.showTenant = options.roleKey !== 'tenant';
// 获取租户树结构数据
if (modalState.showTenant) fnGetDeptTree();