diff --git a/src/views/teacherEnd/trainingTask/index.vue b/src/views/teacherEnd/trainingTask/index.vue index 397f9ce..484db09 100644 --- a/src/views/teacherEnd/trainingTask/index.vue +++ b/src/views/teacherEnd/trainingTask/index.vue @@ -308,7 +308,7 @@ 03

资料与步骤

-

上传案例资料、案例视频、实训指导手册与AI排错指导手册,配置实训步骤

+

上传案例资料、案例视频、实训指导手册与AI排错指导手册;步骤数量固定,仅可修改步骤名称

@@ -344,6 +344,7 @@
+
@@ -356,25 +357,8 @@
{{ index + 1 }} -
-
@@ -719,15 +703,6 @@ function removeObjective(index) { taskForm.objectives.splice(index, 1) } -function addStep() { - taskForm.steps.push(createStep()) -} - -function removeStep(index) { - if (taskForm.steps.length <= 1) return - taskForm.steps.splice(index, 1) -} - async function handleMaterialChange(slotKey, file) { const rawFile = file?.raw if (!rawFile) return @@ -1473,8 +1448,7 @@ function buildPayload() { } } -.add-objective-button, -.add-step-button { +.add-objective-button { display: flex; align-items: center; justify-content: center;