Commit b83010d9 authored by beisir's avatar beisir

fix:判断是否为分享弹窗删除蒙层

parent 3e5570aa
......@@ -55,8 +55,10 @@ export default {
},
$route() {
this.$nextTick(() => {
this.$refs.gdShare.shareCloseChange();
document.querySelectorAll('.cr-overlay').forEach(e => e.parentNode.removeChild(e));
this.$refs.gdShare.shareCloseChange(); //切换页面隐藏分享弹窗
document
.querySelectorAll('.cr-overlay')
.forEach(e => !e.parentNode.className.includes('share') && e.parentNode.removeChild(e));
store.dispatch('change_show_mini_app_guide', {
bool: !isApp && !isWxMp && !isWechat ? true : false,
pointer: this
......
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