liwei19941102 2 жил өмнө
parent
commit
6c0c36b47c

+ 6 - 0
src/views/car/work/addCarWork.vue

@@ -380,6 +380,12 @@ const deleteItem = (obj) => {
     });
     for (var index in activities.value) {
         activities.value[index].rank = Number(index) + 1
+        if (index == 0) {
+            activities.value[index].rank = 1
+            activities.value[index].content = "起点"
+            activities.value[index].size = 'large'
+            activities.value[index].color = '#0bbd87'
+        }
         if (index == activities.value.length - 1) {
             activities.value[index].rank = 999
             activities.value[index].content = "终点"