Skip to content

Commit

Permalink
修改 noshell 逻辑 (#1348)
Browse files Browse the repository at this point in the history
  • Loading branch information
Brunoon authored and craigchencc committed Aug 29, 2019
1 parent 5f076b7 commit 8a08219
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/mip-custom/url.js
Original file line number Diff line number Diff line change
Expand Up @@ -186,7 +186,7 @@ define(function (require) {
// }

// 这里直接用 mip2 核心的 standalone 判断,和 mip2 mip-custom 保持一致
if (MIP.standalone) {
if (MIP.standalone && !MIP.util.isCacheUrl(location.href)) {
inMipShell[0] = false;
inMipShell[1] = 'notIframed';
inMipShell[2] = encodeURIComponent(document.referrer);
Expand Down

0 comments on commit 8a08219

Please sign in to comment.