小程序获取scene值?
发布于 6 年前 作者 juanwang 16569 次浏览 来自 问答

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

这样是可以获取到:let scene = decodeURIComponent(options.scene);  但是如果我传的是id = ozFH15TCrBsmTtWJoXOIUbWuwN5k, 我在生产环境中如何获取?也是 let scene = decodeURIComponent(options.scene);?这样?还是let scene = decodeURIComponent(options.id);

1 回复

decodeURIComponent(options.scene)

发表

回到顶部