评价框添加一个标题

This commit is contained in:
2024-10-10 18:59:16 +08:00
parent 5f668d7824
commit 3cc0267ace
2 changed files with 4 additions and 3 deletions

View File

@@ -73,9 +73,9 @@
> >
查看统计 查看统计
</n-button> </n-button>
<n-button v-if="!hasCommented" type="primary" @click="submit" <n-button v-if="!hasCommented" type="primary" @click="submit">
>提交</n-button 提交
> </n-button>
</n-form> </n-form>
<div v-if="props.showStatistics"> <div v-if="props.showStatistics">
<n-descriptions <n-descriptions

View File

@@ -266,6 +266,7 @@ watch(
</n-popover> </n-popover>
<n-modal <n-modal
preset="card" preset="card"
title="恭喜你成功提交,请对该题进行评价(一星差评,五星好评)"
:mask-closable="false" :mask-closable="false"
:style="{ maxWidth: isDesktop && '50vw', maxHeight: '80vh' }" :style="{ maxWidth: isDesktop && '50vw', maxHeight: '80vh' }"
v-model:show="commentPanel" v-model:show="commentPanel"