添加腾讯视频插件后报'getCurrentRoute' of undefined

发布于 6 年前作者 fang968716 次浏览最后编辑 6 年前来自 issues


最近添加了腾讯视频插件以后出现了 Cannot read property 'getCurrentRoute' of undefined的错误信息。


搜了一了项目里面没有用到这个属性,这个是不是插件的问题?


完整报错信息:

```

Cannot read property 'getCurrentRoute' of undefined;at setTimeout callback function TypeError: Cannot read property 'getCurrentRoute' of undefined at Function.<anonymous> (WASubContext.js:1:810786) at Function.<anonymous> (WASubContext.js:1:79438) at WASubContext.js:1:85376

```

1 回复
qinna
qinna1 楼4 年前

先不引进插件是否会报错?