Skip to content

Taro+React小程序分享带参数怎么取? #10996

Answered by langziyang
langziyang asked this question in Q & A
Discussion options

You must be logged in to vote

useShareTimeline((res) => { return { title: 'ffffff', query: {name: 'ok'} } }) 页面分享后,在app.js里 `onLaunch (options) {

}` 取不到query里的值?

原来query的值是字符串,不是对象,希望手册能完善一下

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by langziyang
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q & A
Labels
None yet
1 participant