fix
Some checks failed
Deploy / deploy (push) Has been cancelled

This commit is contained in:
2025-10-13 20:50:30 +08:00
parent 04d77a3e9d
commit ab4e12e0e5

View File

@@ -161,7 +161,11 @@ onMounted(() => {
<SubmitCode v-else /> <SubmitCode v-else />
<n-button <n-button
v-if="!userStore.isSuperAdmin && userStore.showSubmissions" v-if="
!userStore.isSuperAdmin &&
userStore.showSubmissions &&
!isContestMode
"
:size="buttonSize" :size="buttonSize"
@click="goSubmissions" @click="goSubmissions"
> >
@@ -179,8 +183,9 @@ onMounted(() => {
<n-button <n-button
v-if="isDesktop && codeStore.code.language !== 'Flowchart'" v-if="isDesktop && codeStore.code.language !== 'Flowchart'"
@click="goTestCat" @click="goTestCat"
>自测猫</n-button
> >
自测猫
</n-button>
<n-dropdown <n-dropdown
v-if="codeStore.code.language !== 'Flowchart'" v-if="codeStore.code.language !== 'Flowchart'"