mirror of
https://github.com/m-xlsea/ruoyi-plus-soybean.git
synced 2025-09-24 07:49:47 +08:00
style: 优化操作列图标
This commit is contained in:
@ -16,6 +16,8 @@ interface Props {
|
||||
rowData?: Api.System.User | null;
|
||||
/** the dept tree data */
|
||||
deptData?: Api.Common.CommonTreeRecord;
|
||||
/** the dept id */
|
||||
deptId?: CommonType.IdType | null;
|
||||
}
|
||||
|
||||
const props = defineProps<Props>();
|
||||
@ -86,6 +88,7 @@ async function getUserInfo() {
|
||||
function handleUpdateModelWhenEdit() {
|
||||
if (props.operateType === 'add') {
|
||||
Object.assign(model, createDefaultModel());
|
||||
model.deptId = props.deptId;
|
||||
return;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user