Commit b1206c51 authored by songrui's avatar songrui

Merge branch 'chronic-master' of…

Merge branch 'chronic-master' of http://gitlab.yiboshi.com/nightkis1995/frontend-h5 into chronic-master
parents 53db602b f23aea4c
...@@ -233,7 +233,8 @@ export function isWeiXin() { ...@@ -233,7 +233,8 @@ export function isWeiXin() {
export function backHome() { export function backHome() {
if (isIOSWebKit()) { //ios if (isIOSWebKit()) { //ios
console.log('ios') console.log('ios')
callMobile("closeWebPage", {}) // callMobile("closeWebPage", {})
window.webkit.messageHandlers.closeWebPage.postMessage(null);
} else if (isAndroid()) { } else if (isAndroid()) {
console.log('Android') console.log('Android')
callMobile("closePage", {}) callMobile("closePage", {})
......
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