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 @@