mirror of
https://gitee.com/elegant_wings/dbd-meeting-wx-small.git
synced 2025-06-21 11:59:37 +08:00
描述:微信扫一扫获取园区信息
This commit is contained in:
parent
f86023b29c
commit
f801280323
@ -169,6 +169,10 @@ Page({
|
|||||||
if (options.q) {
|
if (options.q) {
|
||||||
let url = decodeURIComponent(options.q)
|
let url = decodeURIComponent(options.q)
|
||||||
let urlParam = getUrlParamsObj(url);
|
let urlParam = getUrlParamsObj(url);
|
||||||
|
// 自动绑定园区
|
||||||
|
wx.setStorageSync('parkId', urlParam.parkId)
|
||||||
|
wx.setStorageSync('parkName', urlParam.parkName)
|
||||||
|
// 是否携带其他参数
|
||||||
if (!urlParam.noParam) {
|
if (!urlParam.noParam) {
|
||||||
_this.setData({
|
_this.setData({
|
||||||
qrcodeParam: urlParam
|
qrcodeParam: urlParam
|
||||||
|
Loading…
x
Reference in New Issue
Block a user