小程序通过扫码进入后,需要获取参数
onLoad((options)=>{
if(options.scene){
const scene = decodeURIComponent(options.scene)
console.log(scene.id);
}
})
小程序通过扫码进入后,需要获取参数
onLoad((options)=>{
if(options.scene){
const scene = decodeURIComponent(options.scene)
console.log(scene.id);
}
})