002201 před 1 rokem
rodič
revize
cb349006eb
1 změnil soubory, kde provedl 1 přidání a 1 odebrání
  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>