From e211cddc3193a296b8ca3b774a221040fddd922f Mon Sep 17 00:00:00 2001 From: taiyuan Date: Fri, 9 Jul 2021 11:10:07 +0800 Subject: [PATCH] 分享组件修改 --- components/share/share.js | 5 ++++- components/share/share.wxml | 2 +- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/components/share/share.js b/components/share/share.js index 4058661..ab3e5f7 100644 --- a/components/share/share.js +++ b/components/share/share.js @@ -12,7 +12,10 @@ Component({ }, set_type(type){ this.setData({type:type}) - } + }, + send() { + this.triggerEvent('send',{},{bubbles: true}); + }, } }) \ No newline at end of file diff --git a/components/share/share.wxml b/components/share/share.wxml index 7e71849..7bc7b89 100644 --- a/components/share/share.wxml +++ b/components/share/share.wxml @@ -2,7 +2,7 @@ - -- libgit2 0.21.4