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: { watch: {
noIsbnSelectedCondition() { noIsbnSelectedCondition() {
// ISBN // ISBN
if (this.noIsbnProductList.length > 0 && this.noIsbnBookName && this.isLoggedIn) { if (this.noIsbnBookName && this.isLoggedIn) {
this.searchNoIsbn() this.searchNoIsbn()
} }
}, },
selectedCondition() { selectedCondition() {
// ISBN // ISBN
if (this.productList.length > 0 && this.isbn && this.isLoggedIn) { if (this.isbn && this.isLoggedIn) {
this.searchISBN() this.searchISBN()
} }
}, },