done 设备分组报警
This commit is contained in:
		| @@ -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; | ||||
| 								} | ||||
|   | ||||
		Reference in New Issue
	
	Block a user