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 @@ -