002201 hai 1 ano
pai
achega
cb349006eb
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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>