From 54fe31c744f3c9cd1dc324b161713aa86ace642c Mon Sep 17 00:00:00 2001 From: "zyx.net" Date: Wed, 27 Sep 2023 13:40:13 +0800 Subject: [PATCH] =?UTF-8?q?=E5=B9=B3=E5=8F=B0=E4=BB=B6=E8=AE=A4=E8=AF=81?= =?UTF-8?q?=E6=B8=85=E5=8D=95-=E7=BC=96=E8=BE=91=20=E8=B4=A3=E4=BB=BB?= =?UTF-8?q?=E4=BA=BA=E4=B8=8D=E8=83=BD=E4=B8=BA=E7=A9=BA=E7=9A=84=E6=8F=90?= =?UTF-8?q?=E7=A4=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- jero-web/src/components/PersonnelSelection/index.vue | 3 ++- .../components/certificationList/components/addModel.vue | 1 - 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/jero-web/src/components/PersonnelSelection/index.vue b/jero-web/src/components/PersonnelSelection/index.vue index f740d653b..b214e423f 100644 --- a/jero-web/src/components/PersonnelSelection/index.vue +++ b/jero-web/src/components/PersonnelSelection/index.vue @@ -140,9 +140,10 @@ let content = this.selectData.filter(res => { return res.id === selectValue }) - this.$emit('input', content[0].username) + this.$emit('input', content.length > 0 ? content[0].username:'') this.$emit('change', this.query.db_field_name, selectValue, this.query.subscript) } else { + console.log(1) Object.assign(this, { selectValue, fetching: false diff --git a/jero-web/src/views/projectManagement/platformItemLibraryDetails/components/certificationList/components/addModel.vue b/jero-web/src/views/projectManagement/platformItemLibraryDetails/components/certificationList/components/addModel.vue index 64c42a5fa..606624bfd 100644 --- a/jero-web/src/views/projectManagement/platformItemLibraryDetails/components/certificationList/components/addModel.vue +++ b/jero-web/src/views/projectManagement/platformItemLibraryDetails/components/certificationList/components/addModel.vue @@ -380,7 +380,6 @@