소스 검색

v-for括号修改

jie 2 년 전
부모
커밋
324bb43c55
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      src/views/mining/coalcutter.vue

+ 1 - 1
src/views/mining/coalcutter.vue

@@ -81,7 +81,7 @@
                             </div>
                         </el-col>
                         <el-col :span="12">
-                            <div  v-for="item, index in options" :key="index" style="justify-content:space-evenly;">
+                            <div  v-for="(item, index) in options" :key="index" style="justify-content:space-evenly;">
                                 <span style="font-size: 14px; ">{{item.name}}</span>
                                 &nbsp;&nbsp;&nbsp;
                                 <span style="font-size: 14px;">{{item.num}}</span>