更新URL
Some checks failed
Deploy / deploy (push) Has been cancelled

This commit is contained in:
2025-09-25 19:40:56 +08:00
parent aa4309b2fd
commit 59a81c7601
2 changed files with 42 additions and 3 deletions

View File

@@ -102,6 +102,7 @@ async function listSubmissions() {
}
async function getRankOfThisProblem() {
loading.value = true
const res = await getRankOfProblem(<string>route.params.problemID ?? "")
loading.value = false
@@ -114,7 +115,9 @@ async function getRankOfThisProblem() {
onMounted(() => {
listSubmissions()
getRankOfThisProblem()
if (route.name === "problem") {
getRankOfThisProblem()
}
})
watch(query, listSubmissions)
</script>