Browse Source

Merge branch 'ETA1.4.9'

cxmo 1 year ago
parent
commit
0d962a4c61
2 changed files with 6 additions and 4 deletions
  1. 3 2
      src/views/ppt/hooks/usePPTPublish.js
  2. 3 2
      src/views/ppt/template/CustomCover.vue

+ 3 - 2
src/views/ppt/hooks/usePPTPublish.js

@@ -112,8 +112,9 @@ function setPPTCover(cover,pptCoverContent='',title=''){
             valign:'top'
         })
     }
+    //不显示
     //若contentList为空,则在右下的位置显示标题
-    if(!contentList.length){
+    /* if(!contentList.length){
         cover.addText(
             [{text:title,options:{fontSize:28*0.75,breakLine:true}}],
             {
@@ -125,7 +126,7 @@ function setPPTCover(cover,pptCoverContent='',title=''){
                 align:'center',
                 fontFace:'SimHei'
             })
-    }
+    } */
     return cover
 }
 

+ 3 - 2
src/views/ppt/template/CustomCover.vue

@@ -44,10 +44,11 @@ watch(
                 </div>
             </div>
         </div>
+        <!-- 不显示 -->
         <!-- 如果没有自定义文本,则在右下的位置显示标题 -->
-        <div class="cover-el default" v-if="!coverList.length">
+        <!--<div class="cover-el default" v-if="!coverList.length">
             <div class="editor-content"><p style="font-size:28px;color:#fff;">{{ pageData.Title }}</p></div>
-        </div>
+        </div>-->
     </div>
 </template>