把自测猫搬进来了
This commit is contained in:
1 parent
6b457f5aae
commit
3a53ee0846
6 files changed
+171
-30
No files matched your search
@@ -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() {
|
||||
|
||||
Reference in new issue
Block a user