Commit aa4b0636 authored by gengchunlei's avatar gengchunlei

慢综 医生端 系统判断打印

parent 87d50093
...@@ -232,11 +232,14 @@ export function isWeiXin() { ...@@ -232,11 +232,14 @@ export function isWeiXin() {
//关闭页面 //关闭页面
export function backHome() { export function backHome() {
if (isIOSWebKit()) { //ios if (isIOSWebKit()) { //ios
console.log('ios')
callMobile("closeWebPage", {}) callMobile("closeWebPage", {})
} else if (isAndroid()) { } else if (isAndroid()) {
console.log('Android')
callMobile("closePage", {}) callMobile("closePage", {})
} }
if (isWeiXin()) { // 微信中 if (isWeiXin()) { // 微信中
console.log('weixin')
WeixinJSBridge.call('closeWindow') WeixinJSBridge.call('closeWindow')
} }
} }
\ No newline at end of file
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