From 60aeeaedea01973f7d1d52fc66fb5f9d8c03f544 Mon Sep 17 00:00:00 2001 From: joylink_cuiweidong <364937672@qq.com> Date: Mon, 17 May 2021 19:15:25 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BB=A3=E7=A0=81=E8=B0=83=E6=95=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/uploadPdf/bindMapInfo.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/views/uploadPdf/bindMapInfo.vue b/src/views/uploadPdf/bindMapInfo.vue index 78579bb14..c737f5ff6 100644 --- a/src/views/uploadPdf/bindMapInfo.vue +++ b/src/views/uploadPdf/bindMapInfo.vue @@ -139,7 +139,7 @@ export default { this.field = field === this.field ? '' : field; }, clickEvent(em) { - if (this.field.toUpperCase() === 'selectDevice'.toUpperCase()) { + if (this.field.toUpperCase() === 'selectDevice'.toUpperCase() && !this.formModel.deviceIds.includes(em.deviceCode)) { const device = this.getDeviceByEm(em); this.formModel.deviceIds.push(device.code); }