[update] 修改bug87997

This commit is contained in:
lideqin
2024-08-05 17:24:04 +08:00
parent 16511cd88f
commit c1dcb53015
+6 -6
View File
@@ -305,8 +305,8 @@ export default {
clickEvent: 'handleEdit',
has: 'user:edit',
show: (record) => {
// 系统新增的才可以修改
return record.source === UserSource.SYSTEMADD.value
// IAM同步过来的不能编辑
return record.source !== UserSource.IAM.value
}
},
// 详情
@@ -321,8 +321,8 @@ export default {
clickEvent: 'handleChangePassword',
has: '',
show: (record) => {
// 系统新增的才可以修改
return record.source === UserSource.SYSTEMADD.value
// IAM同步过来的不能编辑
return record.source !== UserSource.IAM.value
}
},
// 删除
@@ -331,8 +331,8 @@ export default {
clickEvent: 'handleDelete',
has: 'sys:user:sel',
show: (record) => {
// 系统新增的才可以删除
return record.source === UserSource.SYSTEMADD.value
// IAM同步过来的不能删除
return record.source !== UserSource.IAM.value
}
},
// 冻结