使用开发者工具分享出去后,跳到分享后的页面携带参数为空
useShareAppMessage((shareOption) => {
const channel = shareOption.target?.dataset.channel;
const testId = 'asdqqqq123'
const opt = {
channel,
title: `查看 ${state.detailInfo.title}`,
path: `/pages/detail/index?course_id=${state.course_id}&salesman_uid=${testId}`,
imageUrl: 'testtest',
}
return opt;
})
通过在path后携带参数,但是在开发者工具中无法通过分享跳转获取。