html52.com
我爱小程序-开发者交流社区

小程序获取scene值?

在开发者工具中设置了指定参数:在开发者工具中设置了指定参数:这样是可以获取到:let scene = decodeURIComponent(options.scene);  但是如果我传的是id =

在开发者工具中设置了指定参数:这样是可以获取到:let scene = decodeURIComponent(options.scene);  但是如果我传的是id =

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

网友回复

闵仙森ༀ:

decodeURIComponent(options.scene)

发表发表

评论 抢沙发

  • 昵称 (必填)
  • 邮箱 (必填)
  • 网址

真正的个人免签约支付接口

云免签H5支付