From 05507b612c308fa85f88da2914b80915de7a174c Mon Sep 17 00:00:00 2001 From: "97694732@qq.com" Date: Wed, 3 Jun 2026 17:23:02 +0800 Subject: [PATCH] =?UTF-8?q?=E6=90=9C=E7=B4=A2/=E6=89=AB=E7=A0=81=E5=BF=85?= =?UTF-8?q?=E9=A1=BB=E5=90=8C=E6=97=B6=E6=BB=A1=E8=B6=B3:=E5=B7=B2?= =?UTF-8?q?=E7=99=BB=E5=BD=95=E5=AD=94=E7=BD=91+=E5=B7=B2=E9=80=89?= =?UTF-8?q?=E5=93=81=E7=9B=B8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pages/upload/upload.vue | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/pages/upload/upload.vue b/pages/upload/upload.vue index b16beeb..eadbc67 100644 --- a/pages/upload/upload.vue +++ b/pages/upload/upload.vue @@ -918,9 +918,12 @@ export default { // ISBN搜索 - 查询图书中心 + 孔网市场 searchISBN() { - // 未选品相且未登录孔网则禁止搜索 - if (!this.selectedCondition && !this.isLoggedIn) { - uni.showToast({ title: '请选择品相或登录孔网账号', icon: 'none' }) + // 必须已登录孔网且选择了品相 + if (!this.isLoggedIn || !this.selectedCondition) { + const msg = [] + if (!this.isLoggedIn) msg.push('登录孔网账号') + if (!this.selectedCondition) msg.push('选择品相') + uni.showToast({ title: '请先' + msg.join('和'), icon: 'none' }) return } let keyword = ''