Authored by 郭成尧

miniprogram

... ... @@ -23,7 +23,7 @@ function pushHistory() {
}
});
if (!window.history.pushState || window.history.length > 1) {
if (!window.history.pushState || window.history.length > 1 || window.__wxjs_environment === 'miniprogram') {
return false;
}
... ...