This commit is contained in:
闫晓茹 2023-03-06 13:37:06 +08:00
parent c5135aa1c8
commit 2656ff4f02

View File

@ -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();