试题分数:{{ questionForm.score }}
难易程度:{{ questionForm.difficulty === 1 ? '简单' : questionForm.difficulty === 2 ? '一般' :
questionForm.difficulty === 3 ? '困难' : '' }}
@@ -828,7 +840,10 @@ export default {
projectSn: this.$store.state.projectSn
}).then(result => {
if (result.success) {
- this.questionForm = result.result;
+ this.questionForm = {
+ ...result.result,
+ pic: isJSON(result.result.pic) && result.result.pic != null ? JSON.parse(result.result.pic) : []
+ };
this.questionArr = result.result.optionList;
}
})