Commit e3271b1f authored by Facius's avatar Facius

refactor: 题库授权跳转调整

parent 62298469
...@@ -76,7 +76,7 @@ export default { ...@@ -76,7 +76,7 @@ export default {
this.$u.vuex('userInfo', userInfo) this.$u.vuex('userInfo', userInfo)
if (this.returnUrl) { if (this.returnUrl) {
if (this.returnUrl === 'pages/learn/selectedList') { if (this.returnUrl === 'pages/learn/selectCategory') {
this.queryMyQuestionWarehouseDetail() this.queryMyQuestionWarehouseDetail()
return return
} }
...@@ -128,6 +128,10 @@ export default { ...@@ -128,6 +128,10 @@ export default {
}) })
.catch((err) => { .catch((err) => {
// 跳转到选择题库 // 跳转到选择题库
this.$u.route({
url: this.returnUrl,
type: 'redirectTo',
})
console.log(err) 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