diff --git a/components/ymf-components/ymf-share-popup.vue b/components/ymf-components/ymf-share-popup.vue index 90c3dd0..754f485 100644 --- a/components/ymf-components/ymf-share-popup.vue +++ b/components/ymf-components/ymf-share-popup.vue @@ -110,7 +110,7 @@ }).then(res => { // console.log('分享组件挂载完毕:shareConfig',res); // console.log('分享组件挂载完毕:currentOptions',currentOptions); - if(res){ + if(res&& typeof res==='object'){ Object.assign(config,res) const rewardSharePages=res.rewardSharePages.split(',') const pTag = returnPageTags(path) diff --git a/distribution/index.vue b/distribution/index.vue index 6753150..aeee5d0 100644 --- a/distribution/index.vue +++ b/distribution/index.vue @@ -102,7 +102,7 @@