|
|
@@ -37,6 +37,7 @@
|
|
|
:visible.sync="visibleAnswerAnalysis"
|
|
|
:answer-list="data.answer_list"
|
|
|
:analysis-list="data.analysis_list"
|
|
|
+ :isShowAnswer="isShowAnswers"
|
|
|
@closeAnswerAnalysis="closeAnswerAnalysis"
|
|
|
/>
|
|
|
</div>
|
|
|
@@ -58,6 +59,7 @@ export default {
|
|
|
data() {
|
|
|
return {
|
|
|
data: getRecordInputData(),
|
|
|
+ isShowAnswers: false,
|
|
|
};
|
|
|
},
|
|
|
computed: {},
|
|
|
@@ -79,6 +81,14 @@ export default {
|
|
|
if (!this.isJudgingRightWrong) {
|
|
|
this.answer = this.data.answer;
|
|
|
}
|
|
|
+ if (
|
|
|
+ (this.data.answer_list && this.data.answer_list.length > 0) ||
|
|
|
+ (this.data.analysis_list && this.data.analysis_list.length > 0)
|
|
|
+ ) {
|
|
|
+ this.isShowAnswers = true;
|
|
|
+ } else {
|
|
|
+ this.isShowAnswers = false;
|
|
|
+ }
|
|
|
},
|
|
|
methods: {
|
|
|
handleWav(data) {
|