|
@@ -38,7 +38,7 @@
|
|
<el-button type="text" size="small"
|
|
<el-button type="text" size="small"
|
|
@click="handleEdit(scope.row)">编辑</el-button>
|
|
@click="handleEdit(scope.row)">编辑</el-button>
|
|
<el-button type="text" size="small"
|
|
<el-button type="text" size="small"
|
|
- @click="handleDelete(scope.row)" style="color: red;">删除</el-button>
|
|
|
|
|
|
+ @click="handleDelete1(scope.row)" style="color: red;">删除</el-button>
|
|
</template>
|
|
</template>
|
|
</el-table-column>
|
|
</el-table-column>
|
|
</el-table>
|
|
</el-table>
|
|
@@ -267,7 +267,7 @@ export default {
|
|
this.visible = true
|
|
this.visible = true
|
|
},
|
|
},
|
|
// 删除表格数据
|
|
// 删除表格数据
|
|
- handleDelete(row) {
|
|
|
|
|
|
+ handleDelete1(row) {
|
|
this.$confirm('确认删除本条数据吗?', '提示', {
|
|
this.$confirm('确认删除本条数据吗?', '提示', {
|
|
confirmButtonText: '确定',
|
|
confirmButtonText: '确定',
|
|
cancelButtonText: '取消',
|
|
cancelButtonText: '取消',
|