From 63b603c0272890ad3e621d08567ae1c8b3eaa00b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=A7=8B=E4=BA=8E=E5=88=9D=E8=A7=81?= <752204717@qq.com> Date: Tue, 5 Mar 2024 09:40:20 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E4=BD=9C=E8=80=85=E9=80=89?= =?UTF-8?q?=E4=B8=AD=E5=88=86=E7=B1=BB=E5=9B=9E=E6=98=BE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/page/articleAdd.vue | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/components/page/articleAdd.vue b/src/components/page/articleAdd.vue index d58eefa..efada55 100644 --- a/src/components/page/articleAdd.vue +++ b/src/components/page/articleAdd.vue @@ -1602,6 +1602,7 @@ export default { restaurants[i].value = restaurants[i].email + ' | ' + restaurants[i].firstname + restaurants[i].lastname; } var results = value ? restaurants.filter(this.createMata(value)) : restaurants; + console.log('🚀 ~ .then ~ results177:', results); // 调用 callback 返回建议列表的数据 cb(results); this.form.authorList[num].load = false; @@ -1625,7 +1626,7 @@ export default { this.authMeaIN.orcid = value.orcid ? value.orcid : ''; this.authMeaIN.company = value.company ? value.company : ''; this.authMeaIN.department = value.department ? value.department : ''; - this.authMeaIN.title = value.title ? value.title : ''; + this.authMeaIN.title = value.title ? value.title : value.author_title ? value.author_title : ''; this.authMeaIN.country = value.country ? value.country : ''; this.authMeaIN.email = value.email ? value.email : ''; this.authMeaIN.address = value.address ? value.address : '';