正在显示
2 个修改的文件
包含
24 行增加
和
2 行删除
| ... | ... | @@ -37,6 +37,14 @@ Page({ |
| 37 | 37 | onresume:true |
| 38 | 38 | }) |
| 39 | 39 | this.checkUserInfo("") |
| 40 | + | |
| 41 | + wx.showShareMenu({//分享到朋友圈 | |
| 42 | + withShareTicket: true, | |
| 43 | + menus: ['shareAppMessage', 'shareTimeline'], | |
| 44 | + complete: (res) => { | |
| 45 | + console.log("res---",res) | |
| 46 | + }, | |
| 47 | + }) | |
| 40 | 48 | }, |
| 41 | 49 | |
| 42 | 50 | //判断该雇员是否有姓名和身份证号 |
| ... | ... | @@ -241,5 +249,6 @@ Page({ |
| 241 | 249 | */ |
| 242 | 250 | onShareAppMessage: function() { |
| 243 | 251 | |
| 244 | - } | |
| 252 | + }, | |
| 253 | + | |
| 245 | 254 | }) |
| \ No newline at end of file | ... | ... |
| ... | ... | @@ -9,7 +9,20 @@ |
| 9 | 9 | "postcss": true, |
| 10 | 10 | "minified": true, |
| 11 | 11 | "newFeature": true, |
| 12 | - "checkInvalidKey": true | |
| 12 | + "coverView": true, | |
| 13 | + "autoAudits": false, | |
| 14 | + "showShadowRootInWxmlPanel": true, | |
| 15 | + "scopeDataCheck": false, | |
| 16 | + "checkInvalidKey": true, | |
| 17 | + "checkSiteMap": true, | |
| 18 | + "uploadWithSourceMap": true, | |
| 19 | + "babelSetting": { | |
| 20 | + "ignore": [], | |
| 21 | + "disablePlugins": [], | |
| 22 | + "outputPath": "" | |
| 23 | + }, | |
| 24 | + "useCompilerModule": true, | |
| 25 | + "userConfirmedUseCompilerModuleSwitch": false | |
| 13 | 26 | }, |
| 14 | 27 | "compileType": "miniprogram", |
| 15 | 28 | "libVersion": "2.4.2", | ... | ... |
请
注册
或
登录
后发表评论