Download page of an app (html)
Put it on the server and open it through the mobile phone. The js part is not loaded and is invalid.
It is normal to open on the computer.
The js content is used to determine whether WeChat is opened or browsed. The device is open,
js part of the code is as follows
黄舟2017-06-14 10:56:03
It seems that there is an error in isWeixin
that causes alert('1')
not to be executed. If not, you can go to the alert in isWeixin to check it out
三叔2017-06-14 10:56:03
You can try putting alert("1"); in the first line of init() and see if the alert box will appear?