[Taro 小程序开发]TypeError: Cannot read property ‘elem’ of undefined

使用了 Video 组件

在维系开发者工具中调试时一直报

TypeError: Cannot read property 'elem' of undefined
    at M (VM4401 WAService.js:2)
    at VM4401 WAService.js:2
    at VM4401 WAService.js:2
    at n (VM4399 asdebug.js:1)
    at e.exports. (VM4399 asdebug.js:1)
    at VM4399 asdebug.js:1
    at Array.forEach ()
    at WebSocket._ws.onmessage (VM4399 asdebug.js:1)

网上搜出了一个解决方案 https://www.guobao0730.com/ty...

将当前的基础库版本是2.10.1 ,改为其他版本即可

你可能感兴趣的:(weapp,taro)