From 717c47d059c8f7b10f652ae839f7bd4f26e7fb26 Mon Sep 17 00:00:00 2001 From: guoyuepeng <770272267@qq.com> Date: Thu, 6 Mar 2025 11:43:51 +0800 Subject: [PATCH] =?UTF-8?q?1.=E6=96=B0=E5=A2=9E=E6=B6=88=E9=98=B2=E5=99=A8?= =?UTF-8?q?=E6=9D=90=E6=B2=A1=E6=9C=89undefined=E5=88=A4=E6=96=AD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/firefighting/device/components/edit.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/views/firefighting/device/components/edit.vue b/src/views/firefighting/device/components/edit.vue index b6ab6a6..3130bbb 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.FIRE_DEVICE_ID === '' || this.$parent.FIRE_DEVICE_ID === undefined) { this.handleAdd() } else { this.handleUpdate()