After Android Wechat hangs the official account to pay the pop-up window, the page will be stuck if the payment succeeds or fails.

problem description

Front-end frame vue, I don"t know if there is a problem with this. There is a payment place in the official account. Hang up the payment pop-up window. At this time, whether it is closing the pop-up window or entering the password to pay successfully, the result is that the page is stuck and cannot be clicked. Even the closure and sharing carried by Wechat head cannot be clicked. It feels like there is a transparent mask layer blocking Wechat, but the return key of the virtual keyboard can return to the previous page. To reproduce this bug, you need to empty the Wechat cache. This bug will not appear under the ios.

the environmental background of the problems and what methods you have tried

hanging payment under the Wechat official account vue frame

related codes

/ / Please paste the code text below (do not replace the code with pictures)

what result do you expect? What is the error message actually seen?

updated at 17:08:49 on January 23, 2019
connected to Android phone"s webview using chrome://inspect/, found that after the page got stuck, it could be operated in chrome"s inspect window. There was no problem scrolling, clicking, refreshing, accessing anything else, webview synchronous response in the phone, but the Wechat on the phone was like a transparent mask layer, because the top closure and sharing could not be clicked. If you use the return key once, it will be fine. It feels like the return key cancels the transparent mask layer.
looked at the relevant parts of downgrading WeChat Pay and found that there are two ways to lift WeChat Pay. One is that the one you are using is chooseWXPay, and the other is WeixinJSBridge.invoke, which is also relatively new. I am going to try another one. I don"t know if this is the problem.


check to see if it is caused by repeated clicks or sending repeated requests!


see if there is an error, and debug it with this library.
eruda

Menu