This commit is contained in:
2023-04-18 15:11:13 +08:00
parent 80c20a8d08
commit e25971d8e4
7 changed files with 107 additions and 49 deletions

View File

@@ -17,13 +17,6 @@ export function filterEmptyValue(object: any) {
return query
}
export function buildProblemCodeKey(problemID: string, contestID = "") {
if (contestID) {
return `${STORAGE_KEY.PROBLEM_CODE}_${contestID}_${problemID}`
}
return `${STORAGE_KEY.PROBLEM_CODE}_NaN_${problemID}`
}
export function getTagColor(
tag: "Low" | "Mid" | "High" | "简单" | "中等" | "困难"
) {