fix:作业及外链编辑

This commit is contained in:
wyx
2023-02-14 00:53:04 +08:00
parent ec533355d0
commit cbbe03a206
2 changed files with 6 additions and 7 deletions

View File

@@ -119,6 +119,10 @@ export default {
type: Number,
default: null,
},
taskCourseID: {
type: Number,
default: null,
},
projectId: {
type: Number,
default: null,
@@ -271,7 +275,7 @@ export default {
workId: props.EditWorkId >0 ? props.EditWorkId:0 ,
workName: state.name,
workRequirement: state.workRequirement,
id: props.edit ? props.taskIdDraft : ""
id: props.edit ? props.taskCourseID : ""
};
if (props.EditWorkId > 0) {