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