فهرست منبع

feat: 题卡数据新增pageSize

zhangjie 9 ماه پیش
والد
کامیت
b339430ebd

+ 1 - 0
card/components/CardDesign.vue

@@ -482,6 +482,7 @@ export default {
     getCardData(htmlContent = "", model = "") {
       const data = {
         title: this.cardConfig.cardTitle,
+        pageSize: this.cardConfig.pageSize,
         content: model,
         htmlContent,
       };

+ 1 - 0
card/modules/free/components/CardFreeDesign.vue

@@ -347,6 +347,7 @@ export default {
     getCardData(htmlContent = "", model = "") {
       let data = {
         title: this.cardConfig.cardTitle,
+        pageSize: this.cardConfig.pageSize,
         content: model,
         htmlContent,
       };

+ 1 - 0
src/modules/card/components/CardBuildDialog.vue

@@ -366,6 +366,7 @@ export default {
         htmlContent,
         title: this.presetData.paperName,
         status: "SUBMIT",
+        pageSize: this.cardConfig.pageSize,
         ...this.presetData,
       };
       const result = await saveCard(datas).catch((error) => {