mirror of
https://github.com/m-xlsea/ruoyi-plus-soybean.git
synced 2025-09-24 07:49:47 +08:00
feat(projects): 新增 '我发起的' 功能
This commit is contained in:
@ -150,7 +150,7 @@ async function handleUpdateModelWhenEdit() {
|
||||
return;
|
||||
}
|
||||
|
||||
if (props.operateType === 'edit' || (props.operateType === 'detail' && props.rowData)) {
|
||||
if (props.rowData) {
|
||||
Object.assign(model, props.rowData);
|
||||
Object.assign(modelDetail, props.rowData);
|
||||
} else {
|
||||
@ -159,6 +159,7 @@ async function handleUpdateModelWhenEdit() {
|
||||
window.$message?.error(error.message);
|
||||
return;
|
||||
}
|
||||
Object.assign(model, data);
|
||||
Object.assign(modelDetail, data);
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user