@@ -151,7 +151,8 @@ const getInitExam = () => {
* 退出
*/
const getExit = () => {
- router.go(-1);
+ // router.go(-1);
+ router.push({ path: '/home' });
};
onBeforeMount(async () => {
@@ -326,7 +326,7 @@ const getExit = () => {
if (parameter.value.taskId) {
router.push({ path: '/test' });
} else {
- router.push({ path: '/' });
+ router.push({ path: '/train' });
}
@@ -571,7 +571,7 @@ const getExit = () => {
@@ -472,7 +472,7 @@ const getExit = () => {