From 9e54df4fa2d3ff22405be99dcefdbaae40abaedf Mon Sep 17 00:00:00 2001 From: ShenQiLun <97694732@qq.com> Date: Wed, 1 Jul 2026 15:18:12 +0800 Subject: [PATCH] =?UTF-8?q?fix:fetchNoIsbnBookData=E4=B8=AD=E5=87=BA?= =?UTF-8?q?=E7=89=88=E7=A4=BE=E5=B8=A6=E4=B8=8A=E5=B7=B2=E5=A1=AB=E7=9A=84?= =?UTF-8?q?=E4=BD=9C=E8=80=85=E8=BF=87=E6=BB=A4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pages/upload/upload.vue | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/pages/upload/upload.vue b/pages/upload/upload.vue index fe5215e..c0589c5 100644 --- a/pages/upload/upload.vue +++ b/pages/upload/upload.vue @@ -1903,13 +1903,14 @@ export default { this.noIsbnCategoryLoading = true try { // 并行获取分类、出版社、作者 + var pressOpts = { phpsessid: this.kongfzToken || '' } + // 如果当前已填了作者,查询出版社时带上作者过滤 + if (this.noIsbnAuthor) pressOpts.author = this.noIsbnAuthor var results = await Promise.all([ searchCategories(bookName, { phpsessid: this.kongfzToken || '' }), - searchPresses(bookName, { - phpsessid: this.kongfzToken || '' - }), + searchPresses(bookName, pressOpts), searchAuthors(bookName, { phpsessid: this.kongfzToken || '' })