搜索/扫码必须同时满足:已登录孔网+已选品相

This commit is contained in:
97694732@qq.com 2026-06-03 17:23:02 +08:00
parent 7a9722e09d
commit 05507b612c

View File

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