Feat:寻千县万村店铺增加2级分类
This commit is contained in:
@@ -1685,10 +1685,12 @@ export default {
|
|||||||
getShopList() {
|
getShopList() {
|
||||||
const params = {
|
const params = {
|
||||||
countyFamousDataId: this.id,
|
countyFamousDataId: this.id,
|
||||||
countyFamousHotelType: this.shopTypeActive,
|
|
||||||
page: 1,
|
page: 1,
|
||||||
limit: 9999
|
limit: 9999
|
||||||
}
|
}
|
||||||
|
if (this.shopTypeActive) {
|
||||||
|
params.countyFamousHotelType = this.shopTypeActive
|
||||||
|
}
|
||||||
getCityShopList(params).then(res => {
|
getCityShopList(params).then(res => {
|
||||||
this.shopList = (res.data && (res.data.records || res.data.list)) || []
|
this.shopList = (res.data && (res.data.records || res.data.list)) || []
|
||||||
})
|
})
|
||||||
|
|||||||
Reference in New Issue
Block a user