fix(baseBusbarInfo): 重置报警信息表单并初始化 objId

- 在 handleAddAlarm 方法中添加了 resetForm("queryFormAlarm") 调用
- 初始化 formAlarm.objId 为 undefined
IOT
zch 2 months ago
parent 275abacb1a
commit e0e1e64d42

@ -766,6 +766,8 @@ export default {
}, },
handleAddAlarm() { handleAddAlarm() {
this.resetFormAlarm(); this.resetFormAlarm();
this.resetForm("queryFormAlarm");
this.formAlarm.objId = undefined;
this.openAlarm = true; this.openAlarm = true;
this.titleAlarm = "添加报警信息"; this.titleAlarm = "添加报警信息";
}, },

Loading…
Cancel
Save