Commit 2f659549 authored by Xuguangxing's avatar Xuguangxing

feat: 变更积木页缩略图取值位置

parent 2feed0ab
......@@ -159,7 +159,12 @@ export default {
initShareInfo() {
if (EASY_ENV_IS_NODE) return;
console.log(this.pageInfo, 'this.pageInfo')
const { shareCoverImage } = this.pageInfo.page.props;
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) {
......
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