You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

преди 3 години
12345678910111213
  1. module.exports = {
  2. onLoad() {
  3. // 设置默认的转发参数
  4. this.$u.mpShare = {
  5. title: '', // 默认为小程序名称
  6. path: '', // 默认为当前页面路径
  7. imageUrl: '' // 默认为当前页面的截图
  8. }
  9. },
  10. onShareAppMessage() {
  11. return this.$u.mpShare
  12. }
  13. }