zl程序教程

您现在的位置是:首页 >  工具

当前栏目

微信小程序 getLauchOprionsSync()

2023-09-11 14:21:10 时间

getLauchOprionsSync()

作用:获取小程序启动时的参数

使用位置:JS文件的任意位置

实例代码:

console.log(wx.getLaunchOptionsSync());