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> <template>
<n-flex align="center"> <n-flex align="center">
<span>{{ problem.title }}</span> <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> </n-flex>
</template> </template>

View File

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