Commit 9f41626c authored by Facius's avatar Facius

fix: 【模考大师-登录】:手机号码绑定成功后,无toast提示。

parent 9dbc6e01
...@@ -113,6 +113,12 @@ export default { ...@@ -113,6 +113,12 @@ export default {
// 后台会返回' ' // 后台会返回' '
if (res.phoneNumber && res.phoneNumber > 1) { if (res.phoneNumber && res.phoneNumber > 1) {
// 跳转到特定页面 // 跳转到特定页面
// 还没有绑定郭手机号
this.$refs.uToast.show({
title: '授权成功',
type: 'success',
duration: 1500,
callback: () => {
if (this.returnUrl) { if (this.returnUrl) {
if (this.returnUrl === 'pages/learn/selectCategory') { if (this.returnUrl === 'pages/learn/selectCategory') {
this.queryMyQuestionWarehouseDetail() this.queryMyQuestionWarehouseDetail()
...@@ -128,6 +134,8 @@ export default { ...@@ -128,6 +134,8 @@ export default {
type: 'tab', type: 'tab',
}) })
} }
},
})
} else { } else {
// 还没有绑定郭手机号 // 还没有绑定郭手机号
this.$refs.uToast.show({ this.$refs.uToast.show({
......
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