diff --git a/nezha-fronted/src/components/common/rightBox/alertConfigBox.vue b/nezha-fronted/src/components/common/rightBox/alertConfigBox.vue index d682b3b7d..b7d9ab88c 100644 --- a/nezha-fronted/src/components/common/rightBox/alertConfigBox.vue +++ b/nezha-fronted/src/components/common/rightBox/alertConfigBox.vue @@ -223,8 +223,8 @@ } }); } else { - this.prevent_opt.save=false; this.$post('alert/rule', this.editAlertRule).then(response => { + this.prevent_opt.save=false; if (response.code === 200) { this.$message({duration: 1000, type: 'success', message: this.$t("tip.saveSuccess")}); this.esc(true);