mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/fe-manage.git
synced 2025-12-13 21:06:44 +08:00
--fix bug
This commit is contained in:
@@ -397,7 +397,7 @@ export default {
|
|||||||
}
|
}
|
||||||
await RouterEditTask({
|
await RouterEditTask({
|
||||||
chapterId: props.isactive,
|
chapterId: props.isactive,
|
||||||
courseId: res.data.data.activityId,
|
courseId: res.data.data.id,
|
||||||
duration: res.data.data.activityDuration,
|
duration: res.data.data.activityDuration,
|
||||||
name: res.data.data.activityName,
|
name: res.data.data.activityName,
|
||||||
routerId: props.routerId,
|
routerId: props.routerId,
|
||||||
@@ -413,7 +413,7 @@ export default {
|
|||||||
} else if (props.isLevel == 2) {
|
} else if (props.isLevel == 2) {
|
||||||
await apiTask
|
await apiTask
|
||||||
.addTask({
|
.addTask({
|
||||||
courseId: res.data.data.activityId,
|
courseId: res.data.data.id,
|
||||||
duration: res.data.data.activityDuration,
|
duration: res.data.data.activityDuration,
|
||||||
name: res.data.data.activityName,
|
name: res.data.data.activityName,
|
||||||
projectId: props.projectId,
|
projectId: props.projectId,
|
||||||
@@ -430,7 +430,7 @@ export default {
|
|||||||
} else if (props.isLevel == 3) {
|
} else if (props.isLevel == 3) {
|
||||||
await apiTask
|
await apiTask
|
||||||
.addTempTask({
|
.addTempTask({
|
||||||
courseId: res.data.data.activityId,
|
courseId: res.data.data.id,
|
||||||
duration: res.data.data.activityDuration,
|
duration: res.data.data.activityDuration,
|
||||||
name: res.data.data.activityName,
|
name: res.data.data.activityName,
|
||||||
projectTemplateId: props.projectTemplateId,
|
projectTemplateId: props.projectTemplateId,
|
||||||
|
|||||||
Reference in New Issue
Block a user