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
b57d5717
Commit
b57d5717
authored
Oct 09, 2019
by
daqian
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
集点_返回空不限制
parent
1136ab72
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
27 additions
and
5 deletions
+27
-5
wxService.js
src/utils/wxService.js
+27
-5
No files found.
src/utils/wxService.js
View file @
b57d5717
...
...
@@ -450,15 +450,37 @@ class WXService extends Http {
_self
.
trialList
().
then
(
res
=>
{
if
(
!
res
)
return
false
const
{
currentPaths
}
=
res
if
(
currentPaths
.
indexOf
(
router
.
route
)
>
-
1
&&
isExperiencer
)
{
this
.
setData
({
experAccessible
:
true
})
// 有版本号
if
(
currentPaths
.
length
>
0
){
// 是体验者
if
(
currentPaths
.
indexOf
(
router
.
route
)
>
-
1
&&
isExperiencer
)
{
this
.
setData
({
experAccessible
:
true
})
}
else
{
this
.
setData
({
experAccessible
:
false
})
}
}
else
{
// 不限制
this
.
setData
({
experAccessible
:
fals
e
experAccessible
:
tru
e
})
}
// if (currentPaths.indexOf(router.route) > -1 && isExperiencer || currentPaths.length == 0) {
// this.setData({
// experAccessible: true
// })
// } else {
// this.setData({
// experAccessible: false
// })
// }
})
...
...
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