Fix(千县&店铺入驻):[#5234]后台店铺分类添加超过 10 个类别,前端页面只展示前 10 个,多余分类展示缺失
This commit is contained in:
@@ -1048,7 +1048,7 @@ export default {
|
||||
this.getGuideReq()
|
||||
// this.initPoster()
|
||||
this.getListReq()
|
||||
this.getsaleList()
|
||||
this.getSaleListReq()
|
||||
this.queryGuide('countyFamousIndex')
|
||||
this.getCityNewsCategoryReq()
|
||||
},
|
||||
@@ -1242,7 +1242,7 @@ export default {
|
||||
}
|
||||
})
|
||||
},
|
||||
getsaleList() {
|
||||
getSaleListReq() {
|
||||
const params = {
|
||||
countyFamousDataId: this.id,
|
||||
page: 1,
|
||||
@@ -1746,7 +1746,10 @@ export default {
|
||||
}
|
||||
},
|
||||
getShopTypeList() {
|
||||
getCountyFamousHotelType().then(res => {
|
||||
getCountyFamousHotelType({
|
||||
page: 1,
|
||||
limit: 9999
|
||||
}).then(res => {
|
||||
const listData = Array.isArray(res.data)
|
||||
? res.data
|
||||
: (res.data && (res.data.hotelTypeList || res.data.list || res.data.records)) || []
|
||||
|
||||
Reference in New Issue
Block a user