done 设备分组报警

This commit is contained in:
lb
2023-08-28 14:56:56 +08:00
parent 9dc580ddd2
commit 4ad325c02c
4 changed files with 111 additions and 20 deletions

View File

@@ -126,8 +126,9 @@ export default {
},
form: {
get() {
if (this.dataLoaded) return this.dataForm;
else return {}
// if (this.dataLoaded) return this.dataForm;
// else return {}
return this.dataForm;
},
set(val) {
console.log('set form', val);
@@ -228,6 +229,7 @@ export default {
}))
);
} else if (opt.input) {
console.log('setting code: ', response.data)
// 处理输入框数据
this.form[opt.prop] = response.data;
}