Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
7
7-Eleven
Overview
Overview
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
高淑倩
7-Eleven
Commits
7c0edbb0
Commit
7c0edbb0
authored
Jun 11, 2019
by
赵雅纹
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
未登录状态跳转问题
parent
f4c1cd24
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
13 additions
and
10 deletions
+13
-10
picNav.js
src/component/picNav/picNav.js
+13
-10
No files found.
src/component/picNav/picNav.js
View file @
7c0edbb0
...
@@ -41,12 +41,21 @@ Component({
...
@@ -41,12 +41,21 @@ Component({
// 获取当前帐号信息
// 获取当前帐号信息
const
accountInfo
=
utils
.
getAccountInfo
()
const
accountInfo
=
utils
.
getAccountInfo
()
const
userInfo
=
wx
.
getStorageSync
(
'_baseUserInfo'
)
const
userInfo
=
wx
.
getStorageSync
(
'_baseUserInfo'
)
if
(
userInfo
){
if
(
accountInfo
.
miniProgram
.
appId
==
appid
){
if
(
accountInfo
.
miniProgram
.
appId
==
appid
){
if
(
!
memberActivateStatus
){
if
(
userInfo
){
wxService
.
openCard
()
if
(
!
memberActivateStatus
){
wxService
.
openCard
()
}
else
{
wxService
.
router
(
`
${
path
}
`
)
}
}
else
{
}
else
{
wxService
.
router
(
`
${
path
}
`
)
if
(
path
==
'/pages/deliveryService/deliveryService'
)
{
wxService
.
router
(
`
${
path
}
`
)
return
}
this
.
setData
({
isAuthorization
:
true
})
}
}
}
else
{
}
else
{
// 跳转其他小程序
// 跳转其他小程序
...
@@ -65,12 +74,6 @@ Component({
...
@@ -65,12 +74,6 @@ Component({
})
})
}
}
// 是当前小程序 直接跳转
}
else
{
this
.
setData
({
isAuthorization
:
true
})
}
}
}
}
}
})
})
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