|
@@ -198,9 +198,10 @@
|
|
|
<button @click="preQ()" :disabled="queNo == 0" :class="{disable: queNo == 0}">
|
|
|
<Icon type="ios-arrow-back" />{{$t("studentWeb.exam.testpop.previous")}}
|
|
|
</button>
|
|
|
- <button @click="changeAnalysisType(true)" style="margin: 0"
|
|
|
- v-if="isWrong"
|
|
|
- :disabled="checkers[queNo].length < 0 && checkers[queNo].length != 0"
|
|
|
+ <button @click="changeAnalysisType(true)"
|
|
|
+ style="margin: 0"
|
|
|
+ v-if="isWrong"
|
|
|
+ :disabled="!checkers[queNo].length > 0"
|
|
|
:class="checkers[queNo] == '' ? 'disable' : ''"
|
|
|
>
|
|
|
{{$t("studentWeb.exam.testpop.showAns")}}
|
|
@@ -364,7 +365,7 @@
|
|
|
//獲取富文本返回數據
|
|
|
getComposeAns(data, index) {
|
|
|
if (index !== undefined) {
|
|
|
- this.checkers[index] = []
|
|
|
+ this.checkers[index].splice(0)
|
|
|
if (data !== "") {
|
|
|
this.checkers[index].push(data)
|
|
|
}
|