Skip to content

app环境,vue3 setup 方式使用 adRewardedVideo api 报错 #5984

@dodu2014

Description

@dodu2014

问题描述

Image

复现步骤

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
  • 设备信息 安卓

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions