Commit 3e5570aa authored by beisir's avatar beisir

fix:切换页面关闭分享弹窗

parent 70ecbb46
...@@ -55,6 +55,7 @@ export default { ...@@ -55,6 +55,7 @@ export default {
}, },
$route() { $route() {
this.$nextTick(() => { this.$nextTick(() => {
this.$refs.gdShare.shareCloseChange();
document.querySelectorAll('.cr-overlay').forEach(e => e.parentNode.removeChild(e)); document.querySelectorAll('.cr-overlay').forEach(e => e.parentNode.removeChild(e));
store.dispatch('change_show_mini_app_guide', { store.dispatch('change_show_mini_app_guide', {
bool: !isApp && !isWxMp && !isWechat ? true : false, bool: !isApp && !isWxMp && !isWechat ? true : false,
......
...@@ -198,8 +198,6 @@ export default { ...@@ -198,8 +198,6 @@ export default {
page_title: sharePicData.skuName || '', page_title: sharePicData.skuName || '',
group_id: sharePicData.groupBuyGroupId || '' group_id: sharePicData.groupBuyGroupId || ''
}); });
// 关闭小程序下分享底下弹窗
this.shareCloseChange();
}, },
emitRunPostMessage() { emitRunPostMessage() {
const shareDic = this.shareInfo; const shareDic = this.shareInfo;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment