1
0
miroir de https://github.com/ialley-workshop-open/uni-halo.git synchronisé 2026-06-12 13:19:31 +08:00

update: 首页分类查询过滤

Cette révision appartient à :
小莫唐尼
2025-06-11 15:57:35 +08:00
Parent 9aa0e310f2
révision 256bc0e00f
2 fichiers modifiés avec 12 ajouts et 2 suppressions
+3 -1
Voir le fichier
@@ -214,7 +214,9 @@ export default {
}
this.$httpApi.v2
.getCategoryList({})
.getCategoryList({
fieldSelector:['spec.hideFromList==false']
})
.then(res => {
this.categoryList = res.items.sort((a, b) => {
return b.postCount - a.postCount;