5***@qq.com
5***@qq.com
  • 发布:2020-05-18 21:03
  • 更新:2021-03-12 17:31
  • 阅读:1224

【报Bug】V3编译模式下,使用uni.createVideoContext(‘videoId’,this);报错

分类:uni-app

产品分类: uniapp/App

PC开发环境操作系统: Mac

PC开发环境操作系统版本号: IOS手机

HBuilderX类型: 正式

HBuilderX版本号: 2.6.16

手机系统: iOS

手机系统版本号: iOS 13.4

手机厂商: 苹果

手机机型: iphoneXR

页面类型: vue

打包方式: 云端

项目创建方式: HBuilderX

操作步骤:

video绑定的id值,通过uni.createVideoContext(‘videoId’,this)方法获取video实例报错

预期结果:

没有报错信息

实际结果:

[Vue warn]: Property or method "toJSON" is not defined on the instance but referenced during render. Make sure that this property is reactive, either in the data option, or for class-based components, by initializing the property. See: https://vuejs.org/v2/guide/reactivity.html#Declaring-Reactive-Properties.

bug描述:

[Vue warn]: Property or method "toJSON" is not defined on the instance but referenced during render. Make sure that this property is reactive, either in the data option, or for class-based components, by initializing the property. See: https://vuejs.org/v2/guide/reactivity.html#Declaring-Reactive-Properties.
21:01:03.845 (found in <Root>) __ERROR

2020-05-18 21:03 负责人:无 分享
已邀请:
c***@163.com

c***@163.com

请问 问题解决了吗,我也是在子组件中使用报同样的错误

该问题目前已经被锁定, 无法添加新回复