1
0
다음의 미러 https://github.com/ialley-workshop-open/uni-halo.git 동기화됨 2026-06-13 05:39:29 +08:00

fix: 修复图库分类排序问题

이 커밋은 다음에 포함됨:
小莫唐尼
2025-07-19 14:08:44 +08:00
부모 d71022c224
커밋 452d021816
+4 -2
파일 보기
@@ -162,9 +162,11 @@ export default {
this.category.list = res.items.map(item => {
return {
name: item.metadata.name,
displayName: item.spec.displayName
displayName: item.spec.displayName,
priority: item.spec.priority
}
});
}).sort((a,b) => a.priority - b.priority);
if (this.category.list.length !== 0) {
this.queryParams.group = this.category.list[0].name;
this.fnGetData(true);