add website config.

This commit is contained in:
2023-04-04 14:05:30 +08:00
parent 2066cb441b
commit 48fc661205
7 changed files with 67 additions and 38 deletions

View File

@@ -13,6 +13,7 @@ import { Submission } from "utils/types"
import { adminRejudge, getSubmissions } from "oj/api"
import { isDesktop } from "~/shared/composables/breakpoints"
import { useUserStore } from "~/shared/store/user"
import { useConfigStore } from "~/shared/store/config"
interface Query {
username: string
@@ -25,6 +26,7 @@ interface Query {
const route = useRoute()
const router = useRouter()
const userStore = useUserStore()
const configStore = useConfigStore()
const message = useMessage()
const submissions = ref([])