Commit 23281e3c by ym

map

1 parent c8eaa3ec
...@@ -179,10 +179,10 @@ export default { ...@@ -179,10 +179,10 @@ export default {
// window.myjs.jumpNativeApp(JSON.stringify({ type: 1, reloadView: 'equity' })) // window.myjs.jumpNativeApp(JSON.stringify({ type: 1, reloadView: 'equity' }))
// } // }
} }
this.payCollect(1); self.payCollect(1);
} else { } else {
self.showToast(result == -1 ? "支付失败" : "取消支付"); self.showToast(result == -1 ? "支付失败" : "取消支付");
this.payCollect(0); self.payCollect(0);
} }
}; };
} }
......
...@@ -178,7 +178,6 @@ export default { ...@@ -178,7 +178,6 @@ export default {
mixins: [indexMixin], mixins: [indexMixin],
mounted() { mounted() {
this.tabHideShow(1); this.tabHideShow(1);
window.webkit.messageHandlers.jumpNativeApp.postMessage(JSON.stringify({type:2,show:1}))
console.log("更新页面时间:", new Date().format("hh:mm:ss")); console.log("更新页面时间:", new Date().format("hh:mm:ss"));
const ua = navigator.userAgent.toLowerCase(); const ua = navigator.userAgent.toLowerCase();
if (ua.match(/MicroMessenger/i) == "micromessenger"){ if (ua.match(/MicroMessenger/i) == "micromessenger"){
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!