Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
W
wechatapp.shangjiadao.com
Project
Project
Details
Activity
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
wangxuelai
wechatapp.shangjiadao.com
Commits
361f344b
Commit
361f344b
authored
Apr 03, 2020
by
wangxuelai
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
'授权取消'
parent
4342c974
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
+3
-3
landpage.js
src/pages/calendarthemeindex/landpage.js
+1
-1
landpage.js
src/pages/themeindex/landpage.js
+2
-2
No files found.
src/pages/calendarthemeindex/landpage.js
View file @
361f344b
...
...
@@ -956,7 +956,7 @@ Page({
const
visitor
=
LocalStorage
.
getItem
(
"visitor"
);
let
that
=
this
;
const
{
encryptedData
,
iv
}
=
e
.
detail
;
if
(
e
.
detail
.
errMsg
==
"getPhoneNumber:fail user deny"
)
{
if
(
!
encryptedData
)
{
wx
.
showToast
({
title
:
"获取手机号失败"
,
icon
:
"none"
...
...
src/pages/themeindex/landpage.js
View file @
361f344b
...
...
@@ -600,7 +600,6 @@ Page({
// 去打卡
goClock
(
e
)
{
// 先授权
console
.
log
(
this
.
data
.
themeSelect
.
is_join
,
"是否已加入"
);
if
(
this
.
data
.
themeSelect
.
is_join
!=
1
)
{
if
(
this
.
data
.
themeSelect
.
join_rule_type
==
3
)
{
this
.
setData
({
...
...
@@ -940,7 +939,7 @@ Page({
const
visitor
=
LocalStorage
.
getItem
(
"visitor"
);
let
that
=
this
;
const
{
encryptedData
,
iv
}
=
e
.
detail
;
if
(
e
.
detail
.
errMsg
==
'getPhoneNumber:fail user deny'
)
{
//用户点击拒绝
if
(
!
encryptedData
)
{
//用户点击拒绝
wx
.
login
({
success
(
res
)
{
const
sessionCode
=
res
.
code
;
...
...
@@ -993,6 +992,7 @@ Page({
);
},
joinClock
()
{
const
that
=
this
;
if
(
this
.
data
.
goJoinSubmiting
){
return
}
...
...
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