Commit 19017e70 authored by 郭志伟's avatar 郭志伟

fix(share): 调整分享打开的链接

parent e0109abf
...@@ -159,7 +159,7 @@ export default { ...@@ -159,7 +159,7 @@ export default {
initShareInfo() { initShareInfo() {
if (EASY_ENV_IS_NODE) return; if (EASY_ENV_IS_NODE) return;
const { coverImage, pageName, pageDescribe, shareCoverImage } = this.pageInfo; const { coverImage, pageName, pageDescribe, shareCoverImage } = this.pageInfo;
const link = `${window.location.origin}${window.location.pathname}?tenantId=${localStorage.get('tenantId') || ''}`; const link = `${window.location.origin}${window.location.pathname}?vccToken={token}&tenantId=${localStorage.get('tenantId') || ''}`;
this.link = link; this.link = link;
const defaultTitle = +localStorage.get('tenantId') === 560671 ? '羊小咩' : '活动页'; const defaultTitle = +localStorage.get('tenantId') === 560671 ? '羊小咩' : '活动页';
this.shareInfo = { 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