fix(题目列表): 选了知识点后题目改成按题号排,和平时看惯的「最新的在前」不一样——默认一律按最新创建
排序下拉固定三项:最新创建(默认)/ 按题号 / 最多人做对。 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
74af88046e
commit
97426f0895
3 files changed
+10
-13
No files matched your search
@@ -439,7 +439,7 @@ export const problemListSchema = paginatedSchema(problemListItemSchema)
|
||||
/** 题目列表「全部类型」下拉:有参考图 / 画流程图 / 语法要求 */
|
||||
export const problemTypeFilterSchema = z.enum(["reference", "flowchart", "ast"])
|
||||
|
||||
/** 题目列表的排序。空串是默认:选了知识点按题号,全部题目按最新创建 */
|
||||
/** 题目列表的排序。空串是默认:按最新创建 */
|
||||
export const problemListSortSchema = z.enum(["", "id", "new", "popular"])
|
||||
|
||||
/**
|
||||
|
||||
Reference in new issue
Block a user