小程序码带参数,,为何部分手机获取失败?
app.js
onLaunch: function (options) { let _this = this; this.System(); wx.getSystemInfo({ success: function(res) { _this.data.model = res.model; _this.debugApp(options) if(options.query.recom){ _this.data.recom = options.query.recom; } } }) }, |
目标页面
// 页面初始化 options为页面跳转所带来的参数 try{ app.debugApp(options); }catch(e){ console.log(e) } if(options.recom){ app.data.recom = options.recom;
|
通过扫小程序,在app.js记录下的路径
同样的码却出现两种路径,,主要iPhone XS居多
