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

修改bug

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