Commit ab00b4a2 authored by xuguangxing's avatar xuguangxing

Merge branch 'master' of git.quantgroup.cn:ui/quantum-block-h5 into feat/v1.6

parents 1d96a03c d43ba75f
......@@ -158,7 +158,14 @@ export default {
},
initShareInfo() {
if (EASY_ENV_IS_NODE) return;
const { coverImage, pageName, pageDescribe, shareCoverImage } = this.pageInfo;
console.log(this.pageInfo, 'this.pageInfo')
let shareCoverImage = '';
try {
shareCoverImage = this.pageInfo.page.props.shareCoverImage;
} catch (e) {
console.log(e);
}
const { coverImage, pageName, pageDescribe } = this.pageInfo;
let link = `${window.location.origin}${window.location.pathname}?vccToken={token}&tenantId=${localStorage.get('tenantId') || ''}`;
if (this.getUrlParamsVal('navId') !== false && this.getUrlParamsVal('index') !== false) {
// 向分享URL中填充导航ID与位置索引
......
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