diff --git a/src/views/firefighting/device/components/edit.vue b/src/views/firefighting/device/components/edit.vue index b6ab6a6..66c4b68 100644 --- a/src/views/firefighting/device/components/edit.vue +++ b/src/views/firefighting/device/components/edit.vue @@ -311,7 +311,7 @@ export default { } this.$refs.form.validate(valid => { if (valid) { - if (this.$parent.FIRE_DEVICE_ID === '') { + if (this.$parent.fireDeviceId === '') { this.handleAdd() } else { this.handleUpdate()