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>