lsc há 11 meses atrás
pai
commit
3e70b78012

+ 1 - 1
dist/index.html

@@ -32,7 +32,7 @@
       width: 100%;
       background: #e6eaf0;
       font-family: '黑体';
-    }</style><link href=./static/css/app.5218608b6599c7d624044515b93a5545.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.3cd0a0187ca1f70ded67.js></script><script type=text/javascript src=./static/js/app.d97a9c888e4604495f4e.js></script></body></html><script>function stopSafari() {
+    }</style><link href=./static/css/app.27ede5302c9c87431e0e135cf5e562ff.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.3cd0a0187ca1f70ded67.js></script><script type=text/javascript src=./static/js/app.30ad310e4c609504ddbc.js></script></body></html><script>function stopSafari() {
     //阻止safari浏览器双击放大功能
     let lastTouchEnd = 0  //更新手指弹起的时间
     document.documentElement.addEventListener("touchstart", function (event) {

Diff do ficheiro suprimidas por serem muito extensas
+ 0 - 0
dist/static/css/app.27ede5302c9c87431e0e135cf5e562ff.css


Diff do ficheiro suprimidas por serem muito extensas
+ 0 - 0
dist/static/css/app.27ede5302c9c87431e0e135cf5e562ff.css.map


Diff do ficheiro suprimidas por serem muito extensas
+ 0 - 0
dist/static/js/app.30ad310e4c609504ddbc.js


Diff do ficheiro suprimidas por serem muito extensas
+ 0 - 0
dist/static/js/app.30ad310e4c609504ddbc.js.map


Diff do ficheiro suprimidas por serem muito extensas
+ 0 - 0
dist/static/js/manifest.571c38d63f24b1ae9e16.js.map


+ 4 - 1
src/components/pages/classroomObservation/components/chatArea.vue

@@ -1134,11 +1134,14 @@ export default {
 		uploadWavFileAndGetText(audioFile) {
 			let iiframe = this.$refs["iiframe"];
 			let _this = this;
+			iiframe.contentWindow.window.document.getElementById('languageOptions').selectedIndex = 3;
+			_this.transcriptionData.content = ''
 			iiframe.contentWindow.onRecognizedResult = function (e) {
 				console.log("onRecognizedResult", e);
 				let privText = e.privText;
 				console.log(privText)
-				_this.transcriptionData.content = privText;
+				_this.transcriptionData.content += privText;
+				_this.loading = false;
 			};
 			iiframe.contentWindow.doContinuousPronunciationAssessment("", {
 				files: [audioFile],

+ 4 - 1
src/components/pages/components/chatArea.vue

@@ -1134,11 +1134,14 @@ export default {
 		uploadWavFileAndGetText(audioFile) {
 			let iiframe = this.$refs["iiframe"];
 			let _this = this;
+			iiframe.contentWindow.window.document.getElementById('languageOptions').selectedIndex = 3;
+			_this.transcriptionData.content = ''
 			iiframe.contentWindow.onRecognizedResult = function (e) {
 				console.log("onRecognizedResult", e);
 				let privText = e.privText;
 				console.log(privText)
-				_this.transcriptionData.content = privText;
+				_this.transcriptionData.content += privText;
+				_this.loading = false;
 			};
 			iiframe.contentWindow.doContinuousPronunciationAssessment("", {
 				files: [audioFile],

Alguns ficheiros não foram mostrados porque muitos ficheiros mudaram neste diff