Merge branch 'dev-3.7' of https://git.mesalab.cn/nezha/nezha-fronted into dev-3.8

This commit is contained in:
zhangyu
2023-07-03 14:36:30 +08:00
4 changed files with 22 additions and 8 deletions

View File

@@ -343,12 +343,13 @@ export default {
type: 'warning'
}).then(() => {
let url = ''
if (this.from === fromRoute.alertSilence) {
this.alertSilenceUrl = `/alert/silence/${this.obj.id}/rel`
url = this.alertSilenceUrl
} else {
url = this.url
}
// if (this.from === fromRoute.alertSilence) {
// this.alertSilenceUrl = `/alert/silence/${this.obj.id}/rel`
// url = this.alertSilenceUrl
// } else {
// url = this.url
// }
url = this.url
this.$delete(url + '?ids=' + row.id + '&state=' + row.state).then(response => {
if (response.code === 200) {
self.delFlag = true