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

update native-button.vue

上级 90d8e4ad
...@@ -36,7 +36,7 @@ ...@@ -36,7 +36,7 @@
onObjectInit(e : UniObjectInitEvent) { onObjectInit(e : UniObjectInitEvent) {
this.button = new NativeButton(e.detail.element); this.button = new NativeButton(e.detail.element);
this.button?.updateText(this.value) this.button?.updateText(this.value)
this.$emit("init") this.$emit("load")
}, },
onclick(e: UniObjectCustomEvent) { onclick(e: UniObjectCustomEvent) {
this.$emit("tap", e) this.$emit("tap", e)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册