video绑定的id值,通过uni.createVideoContext(‘videoId’,this)方法获取video实例报错
- 发布:2020-05-18 21:03
- 更新:2021-03-12 17:31
- 阅读:1224
产品分类: uniapp/App
PC开发环境操作系统: Mac
PC开发环境操作系统版本号: IOS手机
HBuilderX类型: 正式
HBuilderX版本号: 2.6.16
手机系统: iOS
手机系统版本号: iOS 13.4
手机厂商: 苹果
手机机型: iphoneXR
页面类型: vue
打包方式: 云端
项目创建方式: HBuilderX
操作步骤:
预期结果:
没有报错信息
没有报错信息
实际结果:
[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.
[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
1 个回复
c***@163.com
请问 问题解决了吗,我也是在子组件中使用报同样的错误