|
@@ -13,15 +13,17 @@
|
|
|
>
|
|
|
<rich-text :text-json="question.answerAnalysis"></rich-text>
|
|
|
</el-form-item>
|
|
|
- <el-form-item label="难度">
|
|
|
- {{ question.difficulty || "--" }}
|
|
|
+ <el-form-item v-if="question.difficulty" label="难度">
|
|
|
+ {{ question.difficulty }}
|
|
|
</el-form-item>
|
|
|
- <el-form-item v-if="question.quesProperties" label="属性列表">
|
|
|
+ <el-form-item
|
|
|
+ v-if="question.quesProperties && question.quesProperties.length"
|
|
|
+ label="属性"
|
|
|
+ >
|
|
|
<el-tag
|
|
|
v-for="(content, propIndex) in question.quesProperties"
|
|
|
:key="propIndex"
|
|
|
type="info"
|
|
|
- effect="dark"
|
|
|
style="margin-right: 5px; margin-bottom: 5px"
|
|
|
>
|
|
|
{{ content.courseProperty && content.courseProperty.name }}
|