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); }