在引入了js后,可直接在页面使用window.wx。 if ('wx' in window) { console.log(window.wx) } 可以在页面中直接打印这个试试。
阅读量:1
点赞量:0