|
|
@@ -1,5 +1,5 @@
|
|
|
<template>
|
|
|
- <tab-side-component>
|
|
|
+ <div>
|
|
|
<back-title>{{ quiz.name }}</back-title>
|
|
|
<form @submit.prevent="handleFormSubmit">
|
|
|
<button>提交</button>
|
|
|
@@ -25,10 +25,9 @@
|
|
|
</div>
|
|
|
<button>提交</button>
|
|
|
</form>
|
|
|
- </tab-side-component>
|
|
|
+ </div>
|
|
|
</template>
|
|
|
<script>
|
|
|
-import TabSideComponent from '@/components/Layouts/TabSideComponent'
|
|
|
import BackTitle from '@/components/Basic/BackTitle'
|
|
|
import { getQuizById, submitQuiz } from '@/server/quiz'
|
|
|
import { createDefaultQuiz } from '@/views/quiz/utils/default'
|
|
|
@@ -36,7 +35,8 @@ import QuestionKind from '@/server/enums/question-kind'
|
|
|
import MarkdownSection from '@/views/quiz/components/MarkdownSection'
|
|
|
|
|
|
export default {
|
|
|
- components: { MarkdownSection, BackTitle, TabSideComponent },
|
|
|
+ name: 'StudentDoQuiz',
|
|
|
+ components: { MarkdownSection, BackTitle },
|
|
|
data() {
|
|
|
return {
|
|
|
quiz: createDefaultQuiz(),
|