Commit 46c1eabf by 高淑倩

no

parent ec04da04
...@@ -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)
}
}
} }
// 授权路径 我的/购物车/我的奖励/邀请好友/推广商品/我的地址/我的订单 // 授权路径 我的/购物车/我的奖励/邀请好友/推广商品/我的地址/我的订单
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment