app环境,vue3 setup 方式使用 adRewardedVideo api 报错
Open
- Dominant language
- JavaScript
- Stars
- 41.6k
- Forks
- 3.7k
- Avg merge
- 7h 6m
- Merged PRs (30d)
- 6
Description
**问题描述**
**复现步骤**
``` ts
const adRewardedVideo = ref(null)
```
只要定义运行就报错,hbuilderx 就报错。如下:
```
Vue received a Component that was made a reactive object. This can lead to unnecessary performance overhead and should be avoided by marking the component with `markRaw` or using `shallowRef` instead of `ref`.
```
请问如何解决?
**系统信息:**
- 发行平台: 5+ App
- 操作系统 Android 7.0
- HBuilderX版本 5.0.6
- uni-app版本 3.0.0-5000620260331001
- 设备信息 安卓
Contributor guide
Assessment
This issue has not been assessed yet.