把自测猫搬进来了
This commit is contained in:
@@ -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