Commit 533a5e29 by 胡悦

页面加载完成之前禁用分享

1 parent a044d625
......@@ -29,14 +29,14 @@ Page({
},
formData: {
sales: 100,
flow: 100,
flow: 10000,
},
productList: [],
isReset: false,
hasPhoneNumber: false,
lastFormData: {
sales: 100,
flow: 100,
flow: 10000,
},
isFirst: true
},
......@@ -161,7 +161,7 @@ Page({
isReset: false,
formData: {
sales: 100,
flow: 100,
flow: 10000,
},
});
},
......
......@@ -142,7 +142,6 @@ Page({
getApp()
.login()
.then(({ data }) => {
wx.hideLoading()
if (data && data.nickName) {
this.setData({
hasUserInfo: true,
......@@ -160,6 +159,9 @@ Page({
}
this.getCardDetail();
});
wx.hideShareMenu({
menus: ['shareAppMessage', 'shareTimeline']
})
},
/**
......@@ -326,6 +328,10 @@ Page({
this.setData({
shareImg: path,
});
wx.hideLoading()
wx.showShareMenu({
menus: ['shareAppMessage', 'shareTimeline']
})
});
}
});
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!