Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
saas_plus
/
business-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 eb8f265a
authored
Sep 05, 2023
by
张立顺
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
授权手机号兼容提示
1 parent
470a1854
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
0 deletions
login/index/components/Box/Box.js
login/index/components/Box/Box.js
View file @
eb8f265
...
@@ -202,6 +202,8 @@ Component({
...
@@ -202,6 +202,8 @@ Component({
},
},
/**微信登录 */
/**微信登录 */
wxLogin
({
detail
})
{
wxLogin
({
detail
})
{
console
.
log
(
detail
,
'detail'
);
if
(
detail
.
errno
==
104
)
return
//用户手动拒绝
if
(
!
detail
.
code
)
{
if
(
!
detail
.
code
)
{
wx
.
$api
.
showToast
(
'当前微信版本过低,无法使用该功能,请升级到最新微信版本后重试。'
)
wx
.
$api
.
showToast
(
'当前微信版本过低,无法使用该功能,请升级到最新微信版本后重试。'
)
return
return
...
...
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