feat:增加案例任务参数id传递

This commit is contained in:
wyx
2023-02-13 21:08:01 +08:00
parent a763754e4f
commit 11d9ca91f7
2 changed files with 84 additions and 66 deletions

View File

@@ -123,6 +123,10 @@ export default {
type: Number,
default: null,
},
taskIdDraft: {
type: Number,
default: null,
},
edit: {
// 是否为编辑
type: Boolean,
@@ -295,6 +299,7 @@ export default {
routerId: props.routerId,
routerTaskId: props.routerTaskId || 0,
type: 3,
id: props.taskIdDraft
})
.then(() => {
message.success(`${props.edit ? "编辑" : "新增"}关卡任务成功`);