未验证 提交 25fe99dd 编写于 作者: 折腾笔记 提交者: GitHub

Merge pull request #2490 from MaYiFei1995/patch-1

Update ad-draw.md 修复示例2错误
...@@ -101,7 +101,7 @@ ...@@ -101,7 +101,7 @@
<!-- 仅nvue页面支持 --> <!-- 仅nvue页面支持 -->
<view class="content"> <view class="content">
<view class="ad-draw"> <view class="ad-draw">
<ad-draw :adData="adData" @load="onload" @error="onerror"></ad-draw> <ad-draw :data="adData" @load="onload" @error="onerror"></ad-draw>
</view> </view>
</view> </view>
</template> </template>
...@@ -115,6 +115,7 @@ ...@@ -115,6 +115,7 @@
} }
}, },
onReady: function (e) { onReady: function (e) {
this.getAdData()
}, },
methods: { methods: {
getAdData: function (e) { getAdData: function (e) {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册