修改
This commit is contained in:
parent
c5135aa1c8
commit
2656ff4f02
@ -594,11 +594,12 @@ export default {
|
|||||||
},
|
},
|
||||||
/** 删除按钮操作 */
|
/** 删除按钮操作 */
|
||||||
handleDelete(row) {
|
handleDelete(row) {
|
||||||
const settingsNames = row.settingsName || this.settingsNames;
|
const ids = row.id || this.ids;
|
||||||
|
const settingsNames=row.settingsName||this.settingsNames
|
||||||
this.$modal
|
this.$modal
|
||||||
.confirm('是否确认删除规则名称为"' + settingsNames + '"的数据项?')
|
.confirm('是否确认删除规则名称为"' + settingsNames + '"的数据项?')
|
||||||
.then(function () {
|
.then(function () {
|
||||||
return delSettings(settingsNames);
|
return delSettings(ids);
|
||||||
})
|
})
|
||||||
.then(() => {
|
.then(() => {
|
||||||
this.getList();
|
this.getList();
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user