Rieko-wang 2 years ago
parent
commit
08adbbd64f
  1. 5
      index.html

5
index.html

@ -199,15 +199,14 @@
$('.back-btn').click(function () { $('.back-btn').click(function () {
$('.my-account').removeClass('moveRight'); $('.my-account').removeClass('moveRight');
if (isClickToLost) { if (!isClickToLost) {
window?.ReactNativeWebView?.postMessage(1)
} else {
window?.ReactNativeWebView?.postMessage(0) window?.ReactNativeWebView?.postMessage(0)
} }
}) })
$('.account-back').on('click', () => { $('.account-back').on('click', () => {
window?.ReactNativeWebView?.postMessage(0) window?.ReactNativeWebView?.postMessage(0)
isClickToLost = false;
}) })
$.ajax({ $.ajax({

Loading…
Cancel
Save