邓洁 : 修改搜索细节
This commit is contained in:
@@ -58,6 +58,7 @@
|
||||
// }
|
||||
this.getShopList(q, "refresh")
|
||||
this.$refs.dropdown.resetInfo()
|
||||
this.keyword = ''
|
||||
// }
|
||||
},
|
||||
onReachBottom() {
|
||||
@@ -88,6 +89,11 @@
|
||||
this.$api.getShopList(q).then(res => {
|
||||
this.searchListLength = res.data.data.length
|
||||
this.searchInfoList = res.data.data
|
||||
if (res.data.data.length == 0) {
|
||||
this.showNull = true
|
||||
} else {
|
||||
this.showNull = false
|
||||
}
|
||||
})
|
||||
},
|
||||
getShopList(q, type) {
|
||||
|
||||
Reference in New Issue
Block a user