This commit is contained in:
caolc
2023-05-08 10:53:14 +08:00
commit 7d7462ff25
203 changed files with 38885 additions and 0 deletions

3
mixins/index.js Normal file
View File

@@ -0,0 +1,3 @@
import share from './src/share.js';
export {share}

10
mixins/src/share.js Normal file
View File

@@ -0,0 +1,10 @@
export default {
created() {
//#ifdef MP-WEIXIN
wx.showShareMenu({
withShareTicket: true,
menus: ['shareAppMessage', 'shareTimeline']
});
//#endif
},
}