Commit 6899c805 authored by 俞嘉婷's avatar 俞嘉婷

feat: 分享暂不做

parent be0378d8
......@@ -29,12 +29,12 @@ ComponentWithStore({
wx.navigateTo({ url: `/pages/activityDetail/activityDetail?imgUrl=${item.detailImg}` })
}),
onShareAppMessage() {
return {
title: '自定义转发标题',
path: '/page/index/index?id=123',
}
}
// onShareAppMessage() {
// return {
// title: '自定义转发标题',
// path: '/page/index/index?id=123',
// }
// }
},
})
......
// pages/activity/activity.ts
import { ComponentWithStore } from "mobx-miniprogram-bindings";
import { store } from "../../store/store";
ComponentWithStore({
/**
......@@ -16,12 +15,12 @@ ComponentWithStore({
imgUrl: this.options.imgUrl,
})
},
onShareAppMessage() {
return {
title: '自定义转发标题',
path: '/page/index/index?id=123',
}
}
// onShareAppMessage() {
// return {
// title: '自定义转发标题',
// path: '/page/index/index?id=123',
// }
// }
},
})
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment