镜像自地址
https://github.com/ialley-workshop-open/uni-halo.git
已同步 2026-06-12 13:19:31 +08:00
fix: 修复图库分类排序问题
这个提交包含在:
@@ -162,9 +162,11 @@ export default {
|
|||||||
this.category.list = res.items.map(item => {
|
this.category.list = res.items.map(item => {
|
||||||
return {
|
return {
|
||||||
name: item.metadata.name,
|
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) {
|
if (this.category.list.length !== 0) {
|
||||||
this.queryParams.group = this.category.list[0].name;
|
this.queryParams.group = this.category.list[0].name;
|
||||||
this.fnGetData(true);
|
this.fnGetData(true);
|
||||||
|
|||||||
在新工单中引用
屏蔽一个用户