Commit e3271b1f authored by Facius's avatar Facius

refactor: 题库授权跳转调整

parent 62298469
......@@ -76,7 +76,7 @@ export default {
this.$u.vuex('userInfo', userInfo)
if (this.returnUrl) {
if (this.returnUrl === 'pages/learn/selectedList') {
if (this.returnUrl === 'pages/learn/selectCategory') {
this.queryMyQuestionWarehouseDetail()
return
}
......@@ -128,6 +128,10 @@ export default {
})
.catch((err) => {
// 跳转到选择题库
this.$u.route({
url: this.returnUrl,
type: 'redirectTo',
})
console.log(err)
})
},
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment