lsc 11 miesięcy temu
rodzic
commit
9732b86c57

+ 1 - 1
dist/index.html

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

Plik diff jest za duży
+ 0 - 0
dist/static/css/app.b3ae46575595e990646deda2524c3458.css


Plik diff jest za duży
+ 0 - 0
dist/static/css/app.b3ae46575595e990646deda2524c3458.css.map


Plik diff jest za duży
+ 0 - 0
dist/static/js/app.593b792e5cd6313efd71.js


Plik diff jest za duży
+ 0 - 0
dist/static/js/app.593b792e5cd6313efd71.js.map


Plik diff jest za duży
+ 0 - 0
dist/static/js/manifest.571c38d63f24b1ae9e16.js.map


+ 6 - 4
src/components/pages/EnglishVoice/index.vue

@@ -71,10 +71,11 @@ export default {
     },
     methods: {
         handleClose(done) {
-            this.close();
-            done();
+            this.close(()=>{
+                done();
+            });
         },
-        close() {
+        close(callback) {
             let a = {
                 title: this.title,
                 detail: this.detail,
@@ -94,6 +95,7 @@ export default {
                     })
                     .catch(() => {
                         this.$emit("update:EnglishVoiceDialog", false);
+                        callback ? callback() : '';
                     });
             }
         },
@@ -162,7 +164,7 @@ export default {
             this.checkJson2 = JSON.parse(JSON.stringify(a));
             this.title = a.title;
             this.detail = a.detail;
-            this.checkJson = a.array
+            this.checkJson = a.array ? a.array : []
             this.checkType = -1
         }
     },

+ 19 - 14
src/components/pages/addCourse.vue

@@ -11261,20 +11261,25 @@ export default {
                 ].toolChoose[toolIndex].englishVoiceJson
               )
             )
-          : {
-              time: "",
-              class: "",
-              difficulty: 0,
-              topic: "",
-              isShow: false,
-              eva: 0,
-              aiEva: {
-                isAiEva: false,
-                aiEvaChoose: [],
-              },
-              allfType: [],
-              englishJson: {},
-            };
+          : { 
+            title:'',
+            detail:'',
+            array:[]
+           };
+          //  {
+          //     time: "",
+          //     class: "",
+          //     difficulty: 0,
+          //     topic: "",
+          //     isShow: false,
+          //     eva: 0,
+          //     aiEva: {
+          //       isAiEva: false,
+          //       aiEvaChoose: [],
+          //     },
+          //     allfType: [],
+          //     englishJson: {},
+          //   };
         this.$forceUpdate();
         this.EnglishVoiceDialog = true;
       }

+ 19 - 14
src/components/pages/aiAddCourse/addCourse.vue

@@ -9205,20 +9205,25 @@ export default {
               ].toolChoose[toolIndex].englishVoiceJson
             )
           )
-          : {
-            time: "",
-            class: "",
-            difficulty: 0,
-            topic: "",
-            isShow: false,
-            eva: 0,
-            aiEva: {
-              isAiEva: false,
-              aiEvaChoose: [],
-            },
-            allfType: [],
-            englishJson: {},
-          };
+          : { 
+            title:'',
+            detail:'',
+            array:[]
+           };
+          //  {
+          //   time: "",
+          //   class: "",
+          //   difficulty: 0,
+          //   topic: "",
+          //   isShow: false,
+          //   eva: 0,
+          //   aiEva: {
+          //     isAiEva: false,
+          //     aiEvaChoose: [],
+          //   },
+          //   allfType: [],
+          //   englishJson: {},
+          // };
         this.$forceUpdate();
         this.EnglishVoiceDialog = true;
       }

+ 19 - 14
src/components/pages/newCourse/addCourse.vue

@@ -11282,20 +11282,25 @@ export default {
                 ].toolChoose[toolIndex].englishVoiceJson
               )
             )
-          : {
-              time: "",
-              class: "",
-              difficulty: 0,
-              topic: "",
-              isShow: false,
-              eva: 0,
-              aiEva: {
-                isAiEva: false,
-                aiEvaChoose: [],
-              },
-              allfType: [],
-              englishJson: {},
-            };
+          : { 
+            title:'',
+            detail:'',
+            array:[]
+           };
+          //  {
+          //     time: "",
+          //     class: "",
+          //     difficulty: 0,
+          //     topic: "",
+          //     isShow: false,
+          //     eva: 0,
+          //     aiEva: {
+          //       isAiEva: false,
+          //       aiEvaChoose: [],
+          //     },
+          //     allfType: [],
+          //     englishJson: {},
+          //   };
         this.$forceUpdate();
         this.EnglishVoiceDialog = true;
       }

Niektóre pliki nie zostały wyświetlone z powodu dużej ilości zmienionych plików