diff --git a/config/router.config.js b/config/router.config.js
index 3f3ed12cebf908355911f38ea73c5573f072bfad..b8e656f770e2dc2429df2aad40a3e673b5687e83 100644
--- a/config/router.config.js
+++ b/config/router.config.js
@@ -60,10 +60,16 @@ export default [
},
{
key: '315',
- path: '/exam/questionList',
+ path: '/exam/question/list',
isFull: true,
component: './exam/question/list',
},
+ {
+ key: '316',
+ path: '/exam/question/single',
+ isFull: true,
+ component: './exam/question/single',
+ },
],
},
],
diff --git a/src/pages/exam/basic.js b/src/pages/exam/basic.js
index 29213652f0ee2052d7c74f5b8c15d0c54717d838..7e8d2315419a04c15f50bce8132f35b8b6be57c5 100644
--- a/src/pages/exam/basic.js
+++ b/src/pages/exam/basic.js
@@ -33,9 +33,9 @@ const Index = () => {
console.log(id);
};
- const onClickButton = id => {
- router.push('/exam/questionList');
-
+ const onClickButton = (id,e) => {
+ e.preventDefault()
+ return router.push('/exam/question/list');
};
diff --git a/src/pages/exam/components/item.js b/src/pages/exam/components/item.js
index 46bf490da9a5f1645fab7f5ce82b0a1a20516f7d..767e2006448de4b5c9aa2c57a0278f3c8d7044fc 100644
--- a/src/pages/exam/components/item.js
+++ b/src/pages/exam/components/item.js
@@ -42,7 +42,7 @@ const Index = ({
/>
分享
-