正在显示
2 个修改的文件
包含
24 行增加
和
2 行删除
| @@ -37,6 +37,14 @@ Page({ | @@ -37,6 +37,14 @@ Page({ | ||
| 37 | onresume:true | 37 | onresume:true |
| 38 | }) | 38 | }) |
| 39 | this.checkUserInfo("") | 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,5 +249,6 @@ Page({ | ||
| 241 | */ | 249 | */ |
| 242 | onShareAppMessage: function() { | 250 | onShareAppMessage: function() { |
| 243 | 251 | ||
| 244 | - } | 252 | + }, |
| 253 | + | ||
| 245 | }) | 254 | }) |
| @@ -9,7 +9,20 @@ | @@ -9,7 +9,20 @@ | ||
| 9 | "postcss": true, | 9 | "postcss": true, |
| 10 | "minified": true, | 10 | "minified": true, |
| 11 | "newFeature": true, | 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 | "compileType": "miniprogram", | 27 | "compileType": "miniprogram", |
| 15 | "libVersion": "2.4.2", | 28 | "libVersion": "2.4.2", |
请
注册
或
登录
后发表评论