提交 79b368d8 authored 作者: matian's avatar matian

批改试卷优化

上级 c6c2e13b
...@@ -47,6 +47,7 @@ const fetchComment = () => { ...@@ -47,6 +47,7 @@ const fetchComment = () => {
updateComment(params).then(() => { updateComment(params).then(() => {
ElMessage.success('点评成功') ElMessage.success('点评成功')
questionData.is_reviewed = true questionData.is_reviewed = true
showComment.value = false
}) })
} }
</script> </script>
...@@ -75,7 +76,7 @@ const fetchComment = () => { ...@@ -75,7 +76,7 @@ const fetchComment = () => {
size="small" size="small"
plain plain
@click="showComment = !showComment" @click="showComment = !showComment"
v-if="props.question.is_reviewed !== true" v-if="questionData.is_reviewed !== true"
>点击评分</el-button >点击评分</el-button
> >
</div> </div>
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论