描述:微信扫一扫获取园区信息

This commit is contained in:
SelfRidicule 2024-05-14 09:34:37 +08:00
parent f86023b29c
commit f801280323

View File

@ -169,6 +169,10 @@ Page({
if (options.q) {
let url = decodeURIComponent(options.q)
let urlParam = getUrlParamsObj(url);
// 自动绑定园区
wx.setStorageSync('parkId', urlParam.parkId)
wx.setStorageSync('parkName', urlParam.parkName)
// 是否携带其他参数
if (!urlParam.noParam) {
_this.setData({
qrcodeParam: urlParam