feat: 解决方案列表页标签排序
All checks were successful
deploy to server / build-and-deploy (push) Successful in 3m1s

- 为SolutionType添加Sort字段用于排序
- 解决方案列表按照sort升序排序
This commit is contained in:
2025-11-08 15:46:37 +08:00
parent 308a080ea4
commit 0363a88785
5 changed files with 67 additions and 26 deletions

View File

@ -12,7 +12,7 @@ export const useSolutionList = () => {
'id',
'cover',
{
type: ['id', { translations: ['id', 'name'] }],
type: ['id', { translations: ['id', 'name'] }, 'sort'],
},
{
translations: ['id', 'title', 'summary'],