+
{{ configStore.config?.website_name }}
-
- 运行
-
+
+ 目录
+
+
+
+ 运行代码
+
+
+
+
+
+
+
菜单
diff --git a/src/utils/functions.ts b/src/utils/functions.ts
index 37a1a6b..d3878a6 100644
--- a/src/utils/functions.ts
+++ b/src/utils/functions.ts
@@ -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" | "简单" | "中等" | "困难"
) {
diff --git a/vite.config.ts b/vite.config.ts
index 5e453fd..13c6a8e 100644
--- a/vite.config.ts
+++ b/vite.config.ts
@@ -38,8 +38,6 @@ export default defineConfig({
],
"codemirror-lang": [
"@codemirror/lang-cpp",
- "@codemirror/lang-javascript",
- "@codemirror/lang-java",
"@codemirror/lang-python",
],
},