|
|
|
@ -32,6 +32,7 @@ import QuestionList from 'views/question/questionList'; |
|
|
|
|
import QuestionAdd from 'views/question/questionAdd'; |
|
|
|
|
import QuestionUp from 'views/question/questionUp'; |
|
|
|
|
import ExamPaperList from 'views/examPaper/examPaperList'; |
|
|
|
|
import ExamPaperAdd from 'views/examPaper/examPaperAdd'; |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
class ContentMain extends Component { |
|
|
|
@ -58,6 +59,7 @@ class ContentMain extends Component { |
|
|
|
|
<Route exact path='/questionAdd' component={ QuestionAdd }/> |
|
|
|
|
<Route exact path='/questionUp' component={ QuestionUp }/> |
|
|
|
|
<Route exact path='/examPaperList' component={ ExamPaperList }/> |
|
|
|
|
<Route exact path='/examPaperAdd' component={ ExamPaperAdd }/> |
|
|
|
|
<Redirect exact from='/' to='/home'/> |
|
|
|
|
</Switch> |
|
|
|
|
</div> |
|
|
|
|