添加提交

This commit is contained in:
2025-03-18 19:16:08 +08:00
parent 3618b5a4b2
commit e4e7507f85
15 changed files with 382 additions and 19 deletions

16
src/store/submission.ts Normal file
View File

@@ -0,0 +1,16 @@
import { ref } from "vue"
import type { SubmissionAll } from "../utils/type"
export const submission = ref<SubmissionAll>({
id: "",
userid: 0,
username: "",
task_title: "",
task_type: "tutorial",
score: 0,
html: "",
css: "",
js: "",
created: new Date(),
modified: new Date(),
})

3
src/store/task.ts Normal file
View File

@@ -0,0 +1,3 @@
import { ref } from "vue"
export const taskId = ref(0)