onLoad((options)=>{
if(options.scene){
const a = decodeURIComponent(options.scene)
uni.setStorageSync('scene', a)
}
})
后台写的进入首页然后传递参数, 前端直接在首页判断是否有, 然后登录时传递参数
微信开放文档中
onLoad((options)=>{
if(options.scene){
const a = decodeURIComponent(options.scene)
uni.setStorageSync('scene', a)
}
})
后台写的进入首页然后传递参数, 前端直接在首页判断是否有, 然后登录时传递参数
微信开放文档中