mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/fe-manage.git
synced 2025-12-13 04:46:46 +08:00
feat:增加案例任务参数id传递
This commit is contained in:
@@ -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 ? "编辑" : "新增"}关卡任务成功`);
|
||||
|
||||
Reference in New Issue
Block a user