qinyan 1 年之前
父節點
當前提交
0527efa858
共有 2 個文件被更改,包括 2 次插入1 次删除
  1. 1 0
      src/modules/editor/objects/DesignTemp/index.ts
  2. 1 1
      src/pages/share/Promotion/index.tsx

+ 1 - 0
src/modules/editor/objects/DesignTemp/index.ts

@@ -6,6 +6,7 @@ export class DesignTemp {
   version?: string;
   _id!: string;
   title = "";
+  desc = "";
   pageStyle?: any;
   content: string[] = ["root"];
   thumbnail?: string;

+ 1 - 1
src/pages/share/Promotion/index.tsx

@@ -19,7 +19,7 @@ export default defineComponent(() => {
         title: data.title,
         link: location.href,
         imgUrl: data.thumbnail || "",
-        desc: data.title,
+        desc: data.desc,
       });
     });
   }