提交 fa548700 authored 作者: lihuihui's avatar lihuihui

修改bug

上级 0832076e
......@@ -118,7 +118,10 @@ export default {
confirmButtonText: '确定',
callback: action => {
this.$router.replace({
path: '/examEnd'
path: '/examEnd',
query: {
id: JSON.parse(window.localStorage.getItem('examInfo')).exam_id
}
})
}
})
......@@ -169,7 +172,7 @@ export default {
clearInterval(this.clearTime)
if (!n) {
this.$router.replace({
path: '/examEnd'
path: '/examEnd',
})
}
window.localStorage.setItem('showflag', 'true')
......
......@@ -41,7 +41,7 @@ export default {
setTimeout(() => {
console.log(JSON.parse(window.localStorage.getItem('examInfo')).exam_id)
this.$router.replace({
path: `/login/${JSON.parse(window.localStorage.getItem('examInfo')).exam_id}`
path: `/login/${this.$route.query.id}`
})
}, 5000)
}, 4000)
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论