Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
S
self-support
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
李俊赕
self-support
Commits
1b04b30b
Commit
1b04b30b
authored
Aug 10, 2021
by
linwenqing
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix:弱网授权手机号修复
parent
1bf2a333
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
7 deletions
+1
-7
index.vue
src/pages/login/index.vue
+1
-7
No files found.
src/pages/login/index.vue
View file @
1b04b30b
...
@@ -77,10 +77,7 @@ export default {
...
@@ -77,10 +77,7 @@ export default {
},
},
async
getCode
()
{
async
getCode
()
{
this
.
isClickGetPhone
=
true
this
.
isClickGetPhone
=
true
uni
.
showLoading
({
this
.
inGetAuth
()
title
:
'授权中..'
,
mask
:
true
});
login
.
appLogin
().
then
(
res
=>
{
login
.
appLogin
().
then
(
res
=>
{
this
.
code
=
res
.
code
this
.
code
=
res
.
code
})
})
...
@@ -100,7 +97,6 @@ export default {
...
@@ -100,7 +97,6 @@ export default {
mask
:
true
mask
:
true
});
});
if
(
getApp
().
globalData
.
logout
)
{
if
(
getApp
().
globalData
.
logout
)
{
console
.
log
(
'隐藏loading 5'
)
uni
.
hideLoading
()
uni
.
hideLoading
()
that
.
setLoginStatus
()
that
.
setLoginStatus
()
}
else
{
}
else
{
...
@@ -239,7 +235,6 @@ export default {
...
@@ -239,7 +235,6 @@ export default {
app
.
getBaseInfo
(
this
)
app
.
getBaseInfo
(
this
)
this
.
goBackPage
()
this
.
goBackPage
()
}
else
{
}
else
{
console
.
log
(
'隐藏loading 3-2'
)
uni
.
hideLoading
()
uni
.
hideLoading
()
uni
.
showToast
({
uni
.
showToast
({
title
:
'授权失败,请重新授权'
,
title
:
'授权失败,请重新授权'
,
...
@@ -248,7 +243,6 @@ export default {
...
@@ -248,7 +243,6 @@ export default {
this
.
setLoginStatus
(
false
)
this
.
setLoginStatus
(
false
)
}
}
}).
catch
(
res
=>
{
}).
catch
(
res
=>
{
console
.
log
(
'隐藏loading 4'
)
uni
.
hideLoading
()
uni
.
hideLoading
()
this
.
setLoginStatus
(
false
)
this
.
setLoginStatus
(
false
)
})
})
...
...
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