Fix(千县&店铺入驻):[#5234]后台店铺分类添加超过 10 个类别,前端页面只展示前 10 个,多余分类展示缺失

This commit is contained in:
lifizer
2026-05-20 17:06:40 +08:00
parent 1e78f76be1
commit 638eadb632
4 changed files with 18 additions and 9 deletions
+6 -3
View File
@@ -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)) || []