消费者分销链接参数undefined问题修复
This commit is contained in:
parent
c68e810350
commit
c1f0cf198a
|
|
@ -67,7 +67,6 @@ export default {
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
async wxGetLocation() {
|
async wxGetLocation() {
|
||||||
console.log("获取定位")
|
|
||||||
let res = await wx.getLocation({
|
let res = await wx.getLocation({
|
||||||
type: 'gcj02'
|
type: 'gcj02'
|
||||||
})
|
})
|
||||||
|
|
|
||||||
|
|
@ -105,13 +105,13 @@
|
||||||
this.inParam = option;
|
this.inParam = option;
|
||||||
this.loadData(option);
|
this.loadData(option);
|
||||||
},
|
},
|
||||||
onShareAppMessage(e) {
|
async onShareAppMessage(e) {
|
||||||
let shareInfo = null;
|
let shareInfo = null;
|
||||||
if (e && e.target && e.target.dataset) {
|
if (e && e.target && e.target.dataset) {
|
||||||
shareInfo = e.target.dataset.shareInfo;
|
shareInfo = e.target.dataset.shareInfo;
|
||||||
}
|
}
|
||||||
if (!this.curUserInfo) {
|
if (!this.curUserInfo) {
|
||||||
this.curUserInfo = this.$request.getCurUserNoCache();
|
this.curUserInfo = await this.$request.getCurUserNoCache();
|
||||||
if (!this.curUserInfo) {
|
if (!this.curUserInfo) {
|
||||||
uni.showToast({
|
uni.showToast({
|
||||||
title: '请前往“我的”完成登录',
|
title: '请前往“我的”完成登录',
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue