在开发者工具中设置了指定参数:


这样是可以获取到:let scene = decodeURIComponent(options.scene); 但是如果我传的是id = ozFH15TCrBsmTtWJoXOIUbWuwN5k, 我在生产环境中如何获取?也是 let scene = decodeURIComponent(options.scene);?这样?还是let scene = decodeURIComponent(options.id);
微信小程序开发问题解答
微信小程序开发者回答:
decodeURIComponent(options.scene)
发表
本文网址:http://www.91bianli.com/weixinxiaochengxu/47419.html