Fix:2988 【商城小程序】所有县城的租售资讯--增加“全部”分类,首次进入页面时,默认显示“全部”分类,展示所有店铺
This commit is contained in:
@@ -780,7 +780,7 @@ export default {
|
|||||||
countyFamousDataId: this.id
|
countyFamousDataId: this.id
|
||||||
}
|
}
|
||||||
getSaleList(params).then(res => {
|
getSaleList(params).then(res => {
|
||||||
this.saleList = res.data || []
|
this.saleList = [{name: '全部', id: ''}].concat(res.data || [])
|
||||||
})
|
})
|
||||||
},
|
},
|
||||||
goStore(item) {
|
goStore(item) {
|
||||||
|
|||||||
Reference in New Issue
Block a user