使用了 Video 組件ide
<Video src={courseData.try_source_url} controls initialTime='0' objectFit='fill' poster={courseData.cover_image} />
在維繫開發者工具中調試時一直報工具
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.<anonymous> (VM4399 asdebug.js:1) at VM4399 asdebug.js:1 at Array.forEach (<anonymous>) at WebSocket._ws.onmessage (VM4399 asdebug.js:1)
網上搜出了一個解決方案 https://www.guobao0730.com/ty...post
將當前的基礎庫版本是2.10.1 ,改成其餘版本便可url