Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
saas_plus
/
store-assistant
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit a3815156
authored
Oct 28, 2022
by
前端
Browse Files
Options
Browse Files
Tag
Download
Plain Diff
Merge branch 'zq_dev_3.0' into 'v3.0'
bug修复 See merge request
!98
2 parents
e1dec8d0
f3f02087
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
pages/authentication/login/login.js
pages/authentication/login/login.js
View file @
a381515
...
@@ -104,8 +104,8 @@ Page({
...
@@ -104,8 +104,8 @@ Page({
mobile
:
formData
.
phone
,
mobile
:
formData
.
phone
,
code
:
formData
.
code
code
:
formData
.
code
}
}
wx
.
showLoading
()
if
(
this
.
data
.
showLoading
||
this
.
data
.
disabled
)
return
;
if
(
this
.
data
.
showLoading
||
this
.
data
.
disabled
)
return
;
wx
.
showLoading
()
USERAPI
.
phoneSmsLogin
(
obj
).
then
(({
USERAPI
.
phoneSmsLogin
(
obj
).
then
(({
code
,
code
,
data
,
data
,
...
@@ -124,7 +124,7 @@ Page({
...
@@ -124,7 +124,7 @@ Page({
}
}
}).
catch
(
err
=>
{
}).
catch
(
err
=>
{
wx
.
hideLoading
()
wx
.
hideLoading
()
wx
.
$api
.
showToast
(
'系统异常'
)
wx
.
$api
.
showToast
(
err
||
'系统异常'
)
})
})
},
},
/**手机号&微信登录:是否跳转登录列表页 */
/**手机号&微信登录:是否跳转登录列表页 */
...
@@ -251,7 +251,7 @@ Page({
...
@@ -251,7 +251,7 @@ Page({
errMsg
errMsg
})
=>
{
})
=>
{
wx
.
hideLoading
()
wx
.
hideLoading
()
wx
.
$api
.
showToast
(
'系统异常'
)
wx
.
$api
.
showToast
(
errMsg
||
'系统异常'
)
})
})
},
},
goServicePage
(){
goServicePage
(){
...
...
Write
Preview
Markdown
is supported
Attach a file
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 post a comment