refactor editor and panel.

This commit is contained in:
2023-01-31 22:16:41 +08:00
parent 7b0163885a
commit 17aa4afc04
8 changed files with 115 additions and 74 deletions

View File

@@ -49,6 +49,7 @@ export const useContestStore = defineStore("contest", () => {
}
async function _getProblems(contestID: string) {
problems.value = []
try {
problems.value = await getContestProblem(contestID)
} catch (err) {