add auto-imports.

This commit is contained in:
xuyue committed 2023-01-11 02:04:48 +08:00
1 parent 5c34d3c5e7
commit 77378f80a0
32 files changed
+819 -117

No files matched your search

+1 -1
View File
@@ -1,4 +1,4 @@
import { breakpointsTailwind, useBreakpoints } from "@vueuse/core"
import { breakpointsTailwind } from "@vueuse/core"
const breakpoints = useBreakpoints(breakpointsTailwind)
+1 -2
View File
@@ -1,4 +1,3 @@
import { useDateFormat } from "@vueuse/core"
import { STORAGE_KEY } from "./constants"
export function getACRate(acCount: number, totalCount: number) {
@@ -23,7 +22,7 @@ export function buildProblemCodeKey(problemID: string, contestID = "") {
return `${STORAGE_KEY.PROBLEM_CODE}_NaN_${problemID}`
}
export function getTagColor(tag: string) {
export function getTagColor(tag: "Low" | "Mid" | "High") {
return {
Low: "success",
Mid: "",