支付宝优化
This commit is contained in:
@@ -134,11 +134,17 @@
|
||||
timer: null //定时器
|
||||
};
|
||||
},
|
||||
onLoad(e) {
|
||||
onLoad(options) {
|
||||
// 隐藏首页按钮
|
||||
if (e.q) {
|
||||
this.shopId = this.getQueryString(decodeURIComponent(e.q), 'shopId')
|
||||
|
||||
// #ifdef MP-WEIXIN
|
||||
if (options.q) {
|
||||
this.shopId = this.getQueryString(decodeURIComponent(options.q), 'shopId')
|
||||
}
|
||||
// #endif
|
||||
// #ifdef MP-ALIPAY
|
||||
if (getApp().globalData.shopId) { this.shopId = getApp().globalData.shopId }
|
||||
// #endif
|
||||
|
||||
},
|
||||
computed: {},
|
||||
|
||||
Reference in New Issue
Block a user