002201 1 năm trước cách đây
mục cha
commit
cb349006eb
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  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>