NEZ-3115 fix:删除告警信息,页面报错

This commit is contained in:
zhangyu
2023-08-28 13:58:04 +08:00
parent cd91590860
commit acf1439f49
2 changed files with 4 additions and 4 deletions

View File

@@ -402,7 +402,7 @@ export default {
// } else {
// url = this.url
// }
url = this.urlNew
url = this.url
this.$delete(url + '?ids=' + row.id + '&state=' + row.state).then(response => {
if (response.code === 200) {
self.delFlag = true
@@ -604,7 +604,7 @@ export default {
this.alertSilenceUrl = `/alert/silence/${this.obj.id}/rel`
url = this.alertSilenceUrl
} else {
url = this.urlNew
url = this.url
}
this.$put(url, this.deleteBox).then(res => {
if (res.code === 200) {