Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
S
study
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Damon
study
Commits
9f41626c
Commit
9f41626c
authored
Sep 06, 2021
by
Facius
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix: 【模考大师-登录】:手机号码绑定成功后,无toast提示。
parent
9dbc6e01
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
23 additions
and
15 deletions
+23
-15
index.vue
src/pages/login/index.vue
+23
-15
No files found.
src/pages/login/index.vue
View file @
9f41626c
...
@@ -113,21 +113,29 @@ export default {
...
@@ -113,21 +113,29 @@ export default {
// 后台会返回' '
// 后台会返回' '
if
(
res
.
phoneNumber
&&
res
.
phoneNumber
>
1
)
{
if
(
res
.
phoneNumber
&&
res
.
phoneNumber
>
1
)
{
// 跳转到特定页面
// 跳转到特定页面
if
(
this
.
returnUrl
)
{
// 还没有绑定郭手机号
if
(
this
.
returnUrl
===
'pages/learn/selectCategory'
)
{
this
.
$refs
.
uToast
.
show
({
this
.
queryMyQuestionWarehouseDetail
()
title
:
'授权成功'
,
return
type
:
'success'
,
}
duration
:
1500
,
this
.
$u
.
route
({
callback
:
()
=>
{
url
:
this
.
returnUrl
,
if
(
this
.
returnUrl
)
{
type
:
'redirectTo'
,
if
(
this
.
returnUrl
===
'pages/learn/selectCategory'
)
{
})
this
.
queryMyQuestionWarehouseDetail
()
}
else
{
return
this
.
$u
.
route
({
}
url
:
'/pages/index/index'
,
this
.
$u
.
route
({
type
:
'tab'
,
url
:
this
.
returnUrl
,
})
type
:
'redirectTo'
,
}
})
}
else
{
this
.
$u
.
route
({
url
:
'/pages/index/index'
,
type
:
'tab'
,
})
}
},
})
}
else
{
}
else
{
// 还没有绑定郭手机号
// 还没有绑定郭手机号
this
.
$refs
.
uToast
.
show
({
this
.
$refs
.
uToast
.
show
({
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment