Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
saas
/
mini-program
/
hmd
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 7450dbd4
authored
Sep 06, 2023
by
李伟康
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
提交
1 parent
d23e83f1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
2 deletions
pages/Login/Login.js
pages/Login/Login.js
View file @
7450dbd
...
...
@@ -139,8 +139,7 @@ Page({
isAgree
}
=
this
.
data
try
{
if
(
detail
.
errMsg
.
includes
(
'deny'
))
return
if
(
detail
.
errMsg
.
includes
(
'authorized'
))
return
if
(
detail
.
errMsg
&&
[
'authorized'
,
'deny'
].
findIndex
(
e
=>
detail
.
errMsg
.
toLowerCase
().
includes
(
e
))
!=
-
1
)
return
if
(
!
detail
?.
code
)
throw
'当前微信版本过低,无法使用该功能,请升级到最新微信版本后重试。'
if
(
!
isAgree
)
throw
'请同意以下用户协议'
wx
.
p
.
wxApi
.
showLoading
()
...
...
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