Solve the problem that the WeChat end Apple mobile phone cannot jump to the page

Because the WeChat terminal is WeChat ’s own browser, there are more or less compatibility and performance issues, so I changed window.open () to window.location = " www.baidu.com " to solve the problem.

window.open () is to open a new page, and window.location = " www.baidu.com " is a jump page, the WeChat built-in browser can only open one page

// window.open('www.baidu.com'); 
window.location="www.baidu.com"  //跳转代码


 

Published 424 original articles · praised 843 · 2.13 million views

Guess you like

Origin blog.csdn.net/qq_35713752/article/details/105536013