提交 748200cb 编写于 作者: DCloud_iOS_XHY's avatar DCloud_iOS_XHY

修改 native-button 示例,解决编译报错

上级 8e478b6e
......@@ -2,8 +2,9 @@
<view>
<native-button class="native-button" style="width: 200px; height: 100px;" :text="buttonText" @buttonTap="ontap"
@load="onload"></native-button>
<time-picker class="native-time-picker" :hour=2 :minute=3 @changed="onChanged"></time-picker>
<!-- #ifdef APP-ANDROID -->
<time-picker class="native-time-picker" :hour=2 :minute=3 @changed="onChanged"></time-picker>
<!-- #endif -->
</view>
</template>
......
......@@ -46,7 +46,7 @@
// #ifdef APP-IOS
// iOS平台需要主动释放 uts 实例
this.button.destroy()
// #endi
// #endif
}
}
</script>
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册