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