diff --git a/nezha-fronted/src/components/common/rightBox/alertRuleBox.vue b/nezha-fronted/src/components/common/rightBox/alertRuleBox.vue
index 27fdaebe7..ef6b726c7 100644
--- a/nezha-fronted/src/components/common/rightBox/alertRuleBox.vue
+++ b/nezha-fronted/src/components/common/rightBox/alertRuleBox.vue
@@ -84,6 +84,7 @@
-
+
-
+
-
@@ -619,11 +620,14 @@ export default {
} else if (val === 3) {
this.showSnmpTrap = false // showSnmpTrap 为 false 时,展示 OID
this.showMetrics = false
- this.editAlertRule.inr = ''
- this.editAlertRule.last = '15'
- this.editAlertRule.unit = 0
- this.editAlertRule.operator = ''
- this.editAlertRule.threshold = ''
+ // this.editAlertRule.inr = ''
+ // this.editAlertRule.last = '15'
+ // this.editAlertRule.unit = 2
+ // this.editAlertRule.operator = '>'
+ // this.editAlertRule.threshold = ''
+ if (!this.editAlertRule.last) {
+ this.editAlertRule.last = 60
+ }
}
},
afterInitRich () {