fix:品相切换时始终请求API,不依赖列表是否有数据
This commit is contained in:
parent
7dac2b75ff
commit
95b99e2453
@ -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()
|
||||
}
|
||||
},
|
||||
|
||||
Loading…
Reference in New Issue
Block a user