修改作者选中分类回显

This commit is contained in:
2024-03-05 09:40:20 +08:00
parent 540cd7cdff
commit 63b603c027

View File

@@ -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 : '';