把自测猫搬进来了

This commit is contained in:
xuyue committed 2024-07-04 20:17:44 +08:00
1 parent 6b457f5aae
commit 3a53ee0846
6 files changed
+171 -30

No files matched your search

+2 -2
View File
@@ -3,9 +3,9 @@ import { ScreenMode } from "~/utils/constants"
export const screenMode = ref(ScreenMode.both)
export const screenSwitchLabel = computed(() => {
if (screenMode.value === ScreenMode.both) return "题目 | 代码"
if (screenMode.value === ScreenMode.both) return "题目 | 自测"
else if (screenMode.value === ScreenMode.problem) return "仅题目"
return "仅代码"
return "仅自测"
})
export function switchScreenMode() {