add testcase panel.
This commit is contained in:
1 parent
31fc880c99
commit
46fcccda35
14 files changed
+146
-87
No files matched your search
@@ -0,0 +1,10 @@
|
||||
import { Code } from "../../utils/types"
|
||||
|
||||
export const useCodeStore = defineStore("code", () => {
|
||||
const code = reactive<Code>({
|
||||
value: "",
|
||||
language: "C",
|
||||
})
|
||||
|
||||
return { code }
|
||||
})
|
||||
@@ -0,0 +1,13 @@
|
||||
export const useSignupStore = defineStore("signup", () => {
|
||||
const [visible] = useToggle()
|
||||
|
||||
function show() {
|
||||
visible.value = true
|
||||
}
|
||||
|
||||
function hide() {
|
||||
visible.value = false
|
||||
}
|
||||
|
||||
return { visible, show, hide }
|
||||
})
|
||||
Reference in new issue
Block a user