|
@@ -4566,8 +4566,8 @@ export default {
|
|
|
}
|
|
|
},
|
|
|
async addWork() {
|
|
|
- console.log(this.$refs.pptIframeRef.pptLoading)
|
|
|
- if(this.$refs.pptIframeRef.pptLoading !== 2)return this.$message.info("ppt正在加载中,请稍等")
|
|
|
+ console.log(this.$refs.pptIframeRef.contentWindow.window.pptLoading)
|
|
|
+ if(this.$refs.pptIframeRef.contentWindow.window.pptLoading !== 2)return this.$message.info("ppt正在加载中,请稍等")
|
|
|
if(this.uploadWorkLoading)return;
|
|
|
this.uploadWorkLoading = true;
|
|
|
let _pptData = await this.getPPtJson();
|
|
@@ -4717,8 +4717,8 @@ export default {
|
|
|
});
|
|
|
},
|
|
|
async updateWork() {
|
|
|
- console.log(this.$refs.pptIframeRef.pptLoading)
|
|
|
- if(this.$refs.pptIframeRef.pptLoading !== 2)return this.$message.info("ppt正在加载中,请稍等")
|
|
|
+ console.log(this.$refs.pptIframeRef.contentWindow.window.pptLoading)
|
|
|
+ if(this.$refs.pptIframeRef.contentWindow.window.pptLoading !== 2)return this.$message.info("ppt正在加载中,请稍等")
|
|
|
if(this.uploadWorkLoading)return;
|
|
|
this.uploadWorkLoading = true;
|
|
|
let _pptData = await this.getPPtJson();
|