feat(projects): 新增 '我发起的' 功能

This commit is contained in:
AN
2025-06-30 22:37:29 +08:00
parent c3ea81dc0d
commit a77edc2e36
16 changed files with 454 additions and 39 deletions

View File

@ -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);
}
}