| | |
| | | </template> |
| | | |
| | | <script setup> |
| | | import { ref, toRefs } from 'vue'; |
| | | import { ref } from 'vue'; |
| | | import { storeToRefs } from 'pinia'; |
| | | import { Close } from '@element-plus/icons-vue'; |
| | | import AnswerTag from './components/answer-tag/index.vue'; |
| | |
| | | import AnswerMultiple from './components/answer-main/answer-multiple/index.vue'; |
| | | import AnswerTime from './components/answer-time/index.vue'; |
| | | import { useExamStore } from '@/store/index.js'; |
| | | import { useRouter } from 'vue-router'; |
| | | |
| | | const router = useRouter(); |
| | | |
| | | const examStore = useExamStore(); |
| | | const { currentType, currentIndex, activeQuestion, examDetail } = storeToRefs(examStore); |
| | |
| | | |
| | | const confirmCancel = () => { |
| | | dialogVisible.value = false; |
| | | router.back(); |
| | | }; |
| | | </script> |
| | | |