|
@@ -174,8 +174,8 @@ export default {
|
|
|
/** 删除按钮操作 */
|
|
|
handleDelete(row) {
|
|
|
const dataIds = row.id || this.ids;
|
|
|
- this.$modal.confirm('是否确认删除数据编号为"' + dataIds + '"的数据项?').then(function() {
|
|
|
- return deleteById(userIds);
|
|
|
+ this.$modal.confirm('是否确认删除标题名称为"' + row.name + '"的数据项?').then(function() {
|
|
|
+ return deleteById(row.id);
|
|
|
}).then(() => {
|
|
|
this.getList();
|
|
|
this.$modal.msgSuccess("删除成功");
|