SanHQin 1 dag geleden
bovenliggende
commit
3200960b04

+ 1 - 1
dist/index.html

@@ -32,7 +32,7 @@
       width: 100%;
       background: #e6eaf0;
       font-family: '黑体';
-    }</style><link href=./static/css/app.8ed11e4297877be793f3d323f0d68bb2.css rel=stylesheet></head><body><div id=app></div><script type=text/javascript src=./static/js/manifest.161e82026ac2ae03ab6f.js></script><script type=text/javascript src=./static/js/vendor.bb486323f0fa002ba2e7.js></script><script type=text/javascript src=./static/js/app.6da563380e5bb5b31ad5.js></script></body></html><script>function stopSafari() {
+    }</style><link href=./static/css/app.a434127b7a769adf7239d043ea8a4e3f.css rel=stylesheet></head><body><div id=app></div><script type=text/javascript src=./static/js/manifest.161e82026ac2ae03ab6f.js></script><script type=text/javascript src=./static/js/vendor.bb486323f0fa002ba2e7.js></script><script type=text/javascript src=./static/js/app.5b75cca054cbcac4298e.js></script></body></html><script>function stopSafari() {
     //阻止safari浏览器双击放大功能
     let lastTouchEnd = 0  //更新手指弹起的时间
     document.documentElement.addEventListener("touchstart", function (event) {

File diff suppressed because it is too large
+ 0 - 0
dist/static/css/app.a434127b7a769adf7239d043ea8a4e3f.css


File diff suppressed because it is too large
+ 0 - 0
dist/static/css/app.a434127b7a769adf7239d043ea8a4e3f.css.map


File diff suppressed because it is too large
+ 0 - 0
dist/static/js/app.5b75cca054cbcac4298e.js


File diff suppressed because it is too large
+ 0 - 0
dist/static/js/app.5b75cca054cbcac4298e.js.map


File diff suppressed because it is too large
+ 0 - 0
dist/static/js/manifest.161e82026ac2ae03ab6f.js.map


+ 6 - 3
src/components/pages/pptEasy/addCourse.vue

@@ -4566,7 +4566,8 @@ export default {
       }
     },
     async addWork() {
-      if(!this.iframeIsLoad || this.uploadWorkLoading)return;
+      if(this.$refs.pptIframeRef.pptLoading !== 2)return this.$message.info("ppt正常加载中,请稍等")
+      if(this.uploadWorkLoading)return;
       this.uploadWorkLoading = true;
       let _pptData = await this.getPPtJson();
 
@@ -4715,7 +4716,8 @@ export default {
         });
     },
     async updateWork() {
-      if(!this.iframeIsLoad || this.uploadWorkLoading)return;
+      if(this.$refs.pptIframeRef.pptLoading !== 2)return this.$message.info("ppt正常加载中,请稍等")
+      if(this.uploadWorkLoading)return;
       this.uploadWorkLoading = true;
       let _pptData = await this.getPPtJson();
 
@@ -8278,7 +8280,8 @@ export default {
     // iframe页面加载完成
     this.$refs.pptIframeRef.onload = () => {
       console.log("iframe页面加载完成");
-      this.iframeIsLoad = true;
+      // this.iframeIsLoad =this.$refs.pptIframeRef.pptLoading
+
     }
   }
 };

Some files were not shown because too many files changed in this diff