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

This commit is contained in:
2025-12-29 22:43:08 +08:00
parent 2d3f94a8b8
commit 76994d42b3
2 changed files with 14 additions and 12 deletions

View File

@@ -9,6 +9,10 @@ defineProps<{
<template>
<n-flex align="center">
<span>{{ problem.title }}</span>
<Icon v-if="problem.allow_flowchart" width="18" icon="vscode-icons:file-type-drawio" />
<Icon
v-if="problem.allow_flowchart"
width="18"
icon="vscode-icons:file-type-drawio"
/>
</n-flex>
</template>

View File

@@ -275,15 +275,13 @@ onUnmounted(() => {
</n-button>
<!-- 流程图评分详情模态框 -->
<n-modal
v-model:show="showDetailModal"
preset="card"
style="width: 1000px"
>
<n-modal v-model:show="showDetailModal" preset="card" style="width: 1000px">
<template #header>
<n-flex align="center">
<n-text>流程图评分详情</n-text>
<n-text :type="getGradeType(modalRating.grade)">{{ modalRating.score }} {{ modalRating.grade }}</n-text>
<n-text :type="getGradeType(modalRating.grade)">
{{ modalRating.score }} {{ modalRating.grade }}
</n-text>
</n-flex>
</template>
<n-grid :cols="5" :x-gap="16">