Commit 89d64c41 authored by 罗超's avatar 罗超

1

parent b56dd3b4
......@@ -19,6 +19,7 @@
:auto-start="true"
class="flex flex_center_center"
ref="countdown"
@finish="examFinish"
/>
</view>
</template>
......@@ -285,6 +286,7 @@
:paperData="peaperDetail"
@hideAnswer="hideAnswerSheet"
@chooseTopic="jumpTopic"
ref="answer"
/>
</view>
<van-toast id="van-toast" />
......@@ -412,7 +414,14 @@ export default {
val.index1 + 1;
data.isShowAnswer = false;
},
//考试结束
examFinish() {
if (data.peaperDetail.Publish.IsAutoSubmit === 1) {
refs.answer;
}
},
};
console.log(424, refs.answer);
onMounted(() => {
getSystemInfo((res) => {
data.statusBarHeight = res.statusBarHeight;
......@@ -426,7 +435,6 @@ export default {
onLoad(options) {
this.msg.PaperId = options.PaperId;
this.msg.PublishId = options.Id;
console.log(414, this.selectComponent);
this.getPaperDetail();
},
};
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment