Mirror von
https://github.com/ialley-workshop-open/uni-halo.git
synchronisiert 2026-06-12 21:29:31 +08:00
fix: 修复首页和分类页面显示已经隐藏的分类数据问题
Dieser Commit ist enthalten in:
@@ -60,7 +60,8 @@ export default {
|
|||||||
loading: 'loading',
|
loading: 'loading',
|
||||||
queryParams: {
|
queryParams: {
|
||||||
size: 20,
|
size: 20,
|
||||||
page: 1
|
page: 1,
|
||||||
|
fieldSelector: ['spec.hideFromList=false']
|
||||||
},
|
},
|
||||||
hasNext: false,
|
hasNext: false,
|
||||||
dataList: [],
|
dataList: [],
|
||||||
|
|||||||
@@ -215,7 +215,7 @@ export default {
|
|||||||
|
|
||||||
this.$httpApi.v2
|
this.$httpApi.v2
|
||||||
.getCategoryList({
|
.getCategoryList({
|
||||||
fieldSelector:['spec.hideFromList==false']
|
fieldSelector:['spec.hideFromList=false']
|
||||||
})
|
})
|
||||||
.then(res => {
|
.then(res => {
|
||||||
this.categoryList = res.items.sort((a, b) => {
|
this.categoryList = res.items.sort((a, b) => {
|
||||||
|
|||||||
In neuem Issue referenzieren
Einen Benutzer sperren