https://www.html5plus.org/doc/zh_cn/events.html
在安卓app端报错:TypeError: Cannot read property 'addEventListener' of undefined
请问这个Events应该如何在app端使用?
document.addEventListener("background", function(){
console.log('background')
}, false)
https://www.html5plus.org/doc/zh_cn/events.html
在安卓app端报错:TypeError: Cannot read property 'addEventListener' of undefined
请问这个Events应该如何在app端使用?
document.addEventListener("background", function(){
console.log('background')
}, false)
1 个回复
MonikaCeng (作者)
自问自答。。解决了:
https://uniapp.dcloud.io/use-html5plus