|
@@ -47,7 +47,7 @@
|
|
|
<template v-if="activeSt">
|
|
|
<button type="default" size="mini" hover-class="none" class="phone-green-btn ks-btn-prev" @click="handlePrev" v-if="!isFistStId">上一题</button>
|
|
|
<button type="default" size="mini" hover-class="none"class="phone-green-btn ks-btn-next" @click="handleNext" v-if="!isLastStId">下一题</button>
|
|
|
- <button type="default" size="mini" hover-class="none"class="phone-green-btn ks-btn-next" @click="handleBack" v-if="isLastStId">交卷</button>
|
|
|
+ <button type="default" size="mini" hover-class="none"class="phone-green-btn ks-btn-next" @click="handleBack" v-if="isLastStId">退出</button>
|
|
|
</template>
|
|
|
|
|
|
<!-- 答题卡 -->
|
|
@@ -149,7 +149,7 @@
|
|
|
|
|
|
const dlName = computed(() => {
|
|
|
if (data.StListForSearch && activeSt.value) {
|
|
|
- return data.StListForSearch[activeSt.value.onlyNum].paragraphName
|
|
|
+ return data.StListForSearch[activeSt.value.onlyNum-1].paragraphName
|
|
|
} else {
|
|
|
return ''
|
|
|
}
|
|
@@ -248,7 +248,7 @@
|
|
|
}
|
|
|
|
|
|
function handlePopupBack() {
|
|
|
- popupRef.value.close()
|
|
|
+ popupRef.value && popupRef.value.close()
|
|
|
}
|
|
|
|
|
|
function handlePrev() {
|