|
|
@@ -31,7 +31,7 @@
|
|
|
>
|
|
|
<section class="ctrls" v-else-if="prop === 'ctrls'">
|
|
|
<el-button type="text" @click="clickEdit(scope.$index, scope.row)">编辑</el-button>
|
|
|
- <el-button type="text" @click="clickDel(scope.row)">删除</el-button>
|
|
|
+ <el-button type="text" @click="clickDel(scope.$index, scope.row)">删除</el-button>
|
|
|
</section>
|
|
|
<span v-else>{{scope.row[prop]}}</span>
|
|
|
</template>
|