支付宝优化
This commit is contained in:
@@ -137,11 +137,16 @@
|
||||
};
|
||||
},
|
||||
onLoad(options) {
|
||||
// #ifdef MP-WEIXIN
|
||||
if (options.q) {
|
||||
this.shopId = this.getQueryString(decodeURIComponent(options.q), 'shopId')
|
||||
this.queueId = this.getQueryString(decodeURIComponent(options.q), 'queueId')
|
||||
}
|
||||
|
||||
// #endif
|
||||
// #ifdef MP-ALIPAY
|
||||
if (getApp().globalData.shopId) { this.shopId = getApp().globalData.shopId }
|
||||
if (getApp().globalData.queueId) { this.queueId = getApp().globalData.queueId }
|
||||
// #endif
|
||||
},
|
||||
onShow() {
|
||||
this.getQueueUpState();
|
||||
|
||||
Reference in New Issue
Block a user