提交 3c3dafa3 编写于 作者: shutao-dc's avatar shutao-dc

update native-button.uvue

上级 c8584c56
......@@ -28,9 +28,10 @@
methods: {
//native-view初始化时触发此方法
onviewinit(e : UniNativeViewInitEvent) {
//获取UniNativeViewElement 传递给NativeButton插件
//获取UniNativeViewElement 传递给NativeButton对象
this.button = new NativeButton(e.detail.element);
this.button?.updateText(this.value)
this.$emit("load")
},
ontap(e: UniNativeViewEvent) {
this.$emit("buttonTap", e)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册