Commit 2beed126 authored by 郭志伟's avatar 郭志伟

fix: 问题修复

parent 3caeeaa1
......@@ -28,9 +28,10 @@ if (process.env.SENTRY_ENV !== 'test' && process.env.NODE_ENV === 'production')
if (EASY_ENV_IS_BROWSER) {
const isSafari = /^.*((iPhone)|(iPad)|(Safari))+.*$/;
if (isSafari.test(navigator.userAgent) && getParameterByName('fromHost', window.location.href)?.indexOf('xc.bmall') === -1) {
const fromHost = getParameterByName('fromHost', window.location.href);
if (isSafari.test(navigator.userAgent) && fromHost?.indexOf('xc.bmall') === -1 && fromHost?.indexOf('tob') === -1) {
window.onpageshow = function(e) {
if (e.persisted || (window.performance && window.performance.navigation.type == 2) || ) {
if (e.persisted || (window.performance && window.performance.navigation.type == 2)) {
window.location.reload();
}
};
......
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