lsc 4 月之前
父節點
當前提交
1093314c63

+ 1 - 1
dist/index.html

@@ -32,7 +32,7 @@
       width: 100%;
       background: #e6eaf0;
       font-family: '黑体';
-    }</style><link href=./static/css/app.ae3db1bc2b6e09d6d20ba96002b1c7f6.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.bba3ed5aca95350eeef8.js></script><script type=text/javascript src=./static/js/app.86ad65168592946e43de.js></script></body></html><script>function stopSafari() {
+    }</style><link href=./static/css/app.b492f3c5999ca998f5f77c071b05ed80.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.bba3ed5aca95350eeef8.js></script><script type=text/javascript src=./static/js/app.a94bf974da26cdc2e412.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.b492f3c5999ca998f5f77c071b05ed80.css


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


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


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


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


+ 6 - 0
src/components/pages/aiAddCourse/record.vue

@@ -340,6 +340,9 @@ export default {
       iiframe.contentWindow.onRecognizedResult = result =>{
         this.$refs.videoTextTextarea.scrollTop = this.$refs.videoTextTextarea.scrollHeight;
         this.videoText = this.videoText.replace(/(^|[\r\n]+).*?\[\.\.\.\][\r\n]+$/, '$1');
+        if (result.text) {
+          this.videoText += `${result.text}\r\n`;
+        }
       }
     },
     async onPauseRecordWithMicrosoft() {
@@ -575,6 +578,9 @@ export default {
       iiframe.contentWindow.onRecognizedResult = result =>{
         this.$refs.videoTextTextarea.scrollTop = this.$refs.videoTextTextarea.scrollHeight;
         this.videoText = this.videoText.replace(/(^|[\r\n]+).*?\[\.\.\.\][\r\n]+$/, '$1');
+        if (result.text) {
+          this.videoText += `${result.text}\r\n`;
+        }
       }
     }
   }

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