Sfoglia il codice sorgente

调试手机端录音失败的原因

xie.bx 3 anni fa
parent
commit
802acad697
1 ha cambiato i file con 2 aggiunte e 1 eliminazioni
  1. 2 1
      im-ui/src/components/chat/ChatVoice.vue

+ 2 - 1
im-ui/src/components/chat/ChatVoice.vue

@@ -61,7 +61,8 @@
 					this.state = 'RUNNING';
 					this.stateTip = "正在录音...";
 				}).catch(error => {
-					this.$message.error("录音失败");
+					console.log(error);
+					this.$message.error(error);
 					console.log(error);
 				});