fix:品相切换时始终请求API,不依赖列表是否有数据

This commit is contained in:
ShenQiLun 2026-07-02 16:32:59 +08:00
parent 7dac2b75ff
commit 95b99e2453

View File

@ -1259,13 +1259,13 @@ export default {
watch: {
noIsbnSelectedCondition() {
// ISBN
if (this.noIsbnProductList.length > 0 && this.noIsbnBookName && this.isLoggedIn) {
if (this.noIsbnBookName && this.isLoggedIn) {
this.searchNoIsbn()
}
},
selectedCondition() {
// ISBN
if (this.productList.length > 0 && this.isbn && this.isLoggedIn) {
if (this.isbn && this.isLoggedIn) {
this.searchISBN()
}
},