Переглянути джерело

暂时去掉封面页截图

cxmo 10 місяців тому
батько
коміт
4ef55daa9f

+ 3 - 3
src/views/ppt_manage/newVersion/components/editor/ChooseCoverNew.vue

@@ -120,15 +120,15 @@ export default {
                 return this.$message.warning("请输入PPT标题")
             }
             const coverContent = JSON.stringify(this.coverElList);
-            this.coverLoading=true
+            //this.coverLoading=true
             //校验标题
             const pptId = this.$route.query.id || this.PptId||0
             const res = this.$parent.currentLang!=='en'
                 ?await pptInterface.pptTitleCheck({PptId:pptId,Title:this.pageData.Title})
                 :await pptEnInterface.pptTitleCheck({PptId:pptId,Title:this.pageData.Title})
             if(res.Ret===200){
-                const coverBase64 = await this.coverToCanvas()
-                this.coverLoading=false
+                //const coverBase64 = await this.coverToCanvas()
+                //this.coverLoading=false
                 this.$emit('saveCover', {
                         firstPage:Object.assign(this.firstPage,this.pageData),
                         content:coverContent,