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
46c1eabf
Commit
46c1eabf
authored
Sep 17, 2019
by
高淑倩
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
no
parent
ec04da04
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
13 additions
and
1 deletions
+13
-1
utils.wxs
src/wxs/utils.wxs
+13
-1
No files found.
src/wxs/utils.wxs
View file @
46c1eabf
...
@@ -29,7 +29,19 @@ function formateUrl(url, BASE_IMG_URL){
...
@@ -29,7 +29,19 @@ function formateUrl(url, BASE_IMG_URL){
// 不需要授权页面 首页/种草列表/种草详情/分类/商品列表/商品详情
// 不需要授权页面 首页/种草列表/种草详情/分类/商品列表/商品详情
function hanlerLinkNoNeedAuth(item){
function hanlerLinkNoNeedAuth(item){
console.log('www', typeof(item.row && item.row.newPath) != undefined ? '1' : '2')
if(item.link){
if(typeof(item.link && item.link.newPath) != undefined){
console.log('link--url', item.desc, item.link.url)
} else {
console.log('link----new', item.desc, item.link.newPath)
}
} else if(item.row){
if(item.row && item.row.newPath) {
console.log('row-----new', item.desc, item.row.newPath)
} else {
console.log('row----url', item.desc, item.row.url)
}
}
}
}
// 授权路径 我的/购物车/我的奖励/邀请好友/推广商品/我的地址/我的订单
// 授权路径 我的/购物车/我的奖励/邀请好友/推广商品/我的地址/我的订单
...
...
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