|
|
|
@ -19,7 +19,7 @@ |
|
|
|
@on-load="onLoad" |
|
|
|
@on-load="onLoad" |
|
|
|
> |
|
|
|
> |
|
|
|
<template #menu-left> |
|
|
|
<template #menu-left> |
|
|
|
<el-button type="danger" icon="el-icon-delete" @click="handleDelete" |
|
|
|
<el-button type="danger" @click="handleDelete" |
|
|
|
>删 除 |
|
|
|
>删 除 |
|
|
|
</el-button> |
|
|
|
</el-button> |
|
|
|
</template> |
|
|
|
</template> |
|
|
|
@ -239,7 +239,7 @@ export default { |
|
|
|
//删除 |
|
|
|
//删除 |
|
|
|
handleDelete() { |
|
|
|
handleDelete() { |
|
|
|
if (this.selectionList.length === 0) { |
|
|
|
if (this.selectionList.length === 0) { |
|
|
|
this.$message.warning('请选择至少一条数据'); |
|
|
|
this.$message.error('请选择至少一条数据'); |
|
|
|
return; |
|
|
|
return; |
|
|
|
} |
|
|
|
} |
|
|
|
this.$confirm('确定将选择数据删除?', { |
|
|
|
this.$confirm('确定将选择数据删除?', { |
|
|
|
|