From ad6a89fd3c668f854cbf4aa2b7c37b84dc959ac3 Mon Sep 17 00:00:00 2001 From: handongxun Date: Thu, 2 Jun 2022 13:26:41 +0800 Subject: [PATCH] =?UTF-8?q?ad-rewarded-video:=20=E5=A2=9E=E5=8A=A0?= =?UTF-8?q?=E6=96=B9=E6=B3=95=E7=9A=84=E8=AF=A6=E7=BB=86=E8=AF=B4=E6=98=8E?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- docs/component/ad-rewarded-video.md | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/docs/component/ad-rewarded-video.md b/docs/component/ad-rewarded-video.md index bab90dca6..1a8381433 100644 --- a/docs/component/ad-rewarded-video.md +++ b/docs/component/ad-rewarded-video.md @@ -63,6 +63,13 @@ |load|加载广告数据| |show|显示广告| +**注意** + +`load` 和 `show` 不能同时调用,在 `load` 过程中调用 `show` 会被忽略,因为数据还没加载完毕,可以在`@load`完成事件中调用 `show` + +支持重复调用 `show`,调用 `show` 时会判断是否加载过数据,如果没有会自动加载一次,如果组件正在预载数据,调用 `show` 也会被忽略 + +推荐直接使用组件的自动加载逻辑,完全不需要手动调用 `load` 和 `show` 简单示例 -- GitLab