002201 1 년 전
부모
커밋
cb349006eb
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      src/components/super-table/index.vue

+ 1 - 1
src/components/super-table/index.vue

@@ -215,7 +215,7 @@ export default {
       <template slot-scope="scope">
         <slot name="operation" v-bind="scope">
           <el-tag :size="$attrs.size" type="info">
-            {{ scope.row.$index }}
+            {{ scope.row.$index || scope.$index }}
           </el-tag>
         </slot>
       </template>