Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

小程序如何分享 #10

Open
yaogengzhu opened this issue Jul 9, 2019 · 0 comments
Open

小程序如何分享 #10

yaogengzhu opened this issue Jul 9, 2019 · 0 comments

Comments

@yaogengzhu
Copy link
Owner

如何分享

 // onShareAppMessage: function(res) {
  //   if (res.from === 'button') {
  //     // 来自页面内转发按钮
  //     console.log(res.target)
  //   }
  //   return {
  //     title: '供货商申请表',
  //     path: 'pages/applyRecord/applyRecord',
  //     // pages/applyRecord/applyRecord
  //     success: function(res) {
  //       // 转发成功
  //       // 如果这里有 shareTickets,则说明是分享到群的
  //       console.log(res.shareTickets)
  //     },
  //     fail: function(res) {
  //       // 转发失败
  //       console.log(res)
  //     }
  //   }
  // }
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant