Skip to content

Commit

Permalink
修改出noshell的逻辑 (#695)
Browse files Browse the repository at this point in the history
  • Loading branch information
craigchencc authored Aug 29, 2019
1 parent e54b1c3 commit e729a79
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion components/mip-custom/common/url.js
Original file line number Diff line number Diff line change
Expand Up @@ -156,7 +156,7 @@ const get = (el, poi) => {
}

// 非mip-shell增加noshell参数,目前医疗小说表现一致,都是用这个参数来处理跨域,并且第三方源站也能展示广告
if (MIP.standalone) {
if (MIP.standalone && !MIP.util.isCacheUrl(location.href)) {
url += '&from=noshell'
}
return url
Expand Down

0 comments on commit e729a79

Please sign in to comment.