Explorar el Código

更改任务显示

qinhb hace 6 meses
padre
commit
fcb8f7ab19
Se han modificado 1 ficheros con 3 adiciones y 3 borrados
  1. 3 3
      src/views/device/screwdriver/index.vue

+ 3 - 3
src/views/device/screwdriver/index.vue

@@ -78,9 +78,9 @@
 
       <el-tabs v-model="activeName" class="demo-tabs">
         <el-tab-pane
-          :label="'任务' + (index + 1)"
-          :name="`task` + (index + 1)"
-          v-for="(item, index) in 8"
+          :label="'任务' + index"
+          :name="`task` + index"
+          v-for="(item, index) in 7"
           :key="index"
         >
           <FormItem ref="FormRef" :propIndex="index" />