This commit is contained in:
xuyue committed 2026-03-16 18:23:31 +08:00
1 parent 040e4e3253
commit 98d8099b5d
3 files changed
+98 -106

No files matched your search

+3 -3
View File
@@ -5,15 +5,15 @@
<n-button quaternary @click="download" :disabled="!showDL">下载</n-button>
<n-button quaternary @click="open">全屏</n-button>
<n-button quaternary v-if="props.clearable" @click="clear">清空</n-button>
<n-button quaternary v-if="props.showCodeButton" @click="emits('showCode')">查看代码</n-button>
<n-button quaternary v-if="props.showCodeButton" @click="emits('showCode')">代码</n-button>
<n-button quaternary v-if="props.submissionId" @click="copyLink">
复制链接
</n-button>
<n-flex v-if="!!submission.id">
<n-button quaternary @click="emits('showCode')">查看代码</n-button>
<n-button quaternary @click="emits('showCode')">代码</n-button>
<n-popover v-if="submission.my_score === 0">
<template #trigger>
<n-button secondary type="primary">手动打分</n-button>
<n-button secondary type="primary">打分</n-button>
</template>
<n-rate :size="30" @update:value="updateScore" />
</n-popover>