直播组件是官方最新版,上线之后后台报了这两个错误很多次,代码中并没有错误中提到的方法
this.offUserCaptureScreen is not a function; [Component] Lifetime Method Error @ #detached
TypeError: this.offUserCaptureScreen is not a function
at p.detached (https://usr//packageA/app-service.js:3980:433)
at r.safeCallback (https://lib/WASubContext.js:2:1345768)
at r.call (https://lib/WASubContext.js:2:1345661)
at r (https://lib/WASubContext.js:2:1361885)
at w (https://lib/WASubContext.js:2:1362117)
at Function.y.pretendDetached (https://lib/WASubContext.js:2:1371166)
at Module.$e (https://lib/WASubContext.js:2:1468960)
at Function.value (https://lib/WASubContext.js:2:1561442)
at jt (https://lib/WASubContext.js:2:1576907)
at Dt (https://lib/WASubContext.js:2:1577849)
this.countEndStoreListEndBlockSize is not a function
TypeError: this.countEndStoreListEndBlockSize is not a function
at h.attached (https://usr/packageA/app-service.js:4020:668)
at r.safeCallback (https://lib/WASubContext.js:2:1615399)
at r.call (https://lib/WASubContext.js:2:1615292)
at r (https://lib/WASubContext.js:2:1631149)
at m (https://lib/WASubContext.js:2:1631474)
at Function.y.pretendAttached (https://lib/WASubContext.js:2:1643176)
at Module.bt (https://lib/WASubContext.js:2:1757670)
at Dt (https://lib/WASubContext.js:2:1865974)
at https://lib/WASubContext.js:2:1870062
at Mt (https://lib/WASubContext.js:2:1870583)
小程序直播组件版本升级到最新的1.1.4版本
升级就没没报错了 ,还有Cannot read property 'replayStartTime' of undefined