Commit cfdfc211 authored by 晏成浩's avatar 晏成浩

feat: 计时器

parent f4920dd0
......@@ -70,6 +70,7 @@ export default {
handleTimerFinish() {
this.timerMinutes = 0
this.timerSecs = 0
this.$emit('close-timer')
clearInterval(this.timer)
},
// 不足10 则 补0
......
......@@ -65,7 +65,7 @@
<!-- </div>-->
<!-- </div>-->
<answer-dialog v-if="showAnsModal" :question-img="currentImg" :quick-response="quickResponseData" @question-exit="handleQuestionExit" :reply-list="replyList"/>
<timer v-show="isShowTimer" />
<timer v-show="isShowTimer" @close-timer="isShowTimer=false" />
</div>
</template>
<script>
......
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