batch update.

This commit is contained in:
2023-02-01 23:53:27 +08:00
parent 449ada30c2
commit f098c54afb
10 changed files with 55 additions and 55 deletions

View File

@@ -99,7 +99,7 @@ watch(
}
)
watch(
() => route.path === "/contest" && route.query,
() => route.name === "contests" && route.query,
(newVal) => {
if (newVal) listContests()
}

View File

@@ -4,9 +4,7 @@ import { ProblemFiltered } from "utils/types"
import ProblemStatus from "~/oj/problem/components/ProblemStatus.vue"
import { useContestStore } from "~/oj/store/contest"
const props = defineProps<{
contestID: string
}>()
const props = defineProps<{ contestID: string }>()
const router = useRouter()
const contestStore = useContestStore()

View File

@@ -1,5 +0,0 @@
<script setup lang="ts"></script>
<template></template>
<style scoped></style>