From 297d4eae775120b9de4a52ad4b90c0137b186554 Mon Sep 17 00:00:00 2001
From: yangyin <1850366751@qq.com>
Date: 星期一, 22 七月 2024 11:51:07 +0800
Subject: [PATCH] Merge branch 'master' of http://47.103.154.90:83/r/WI/Web.V1.0

---
 src/components/chat/components/playBar/PlayBar.vue |   19 +++++++++----------
 1 files changed, 9 insertions(+), 10 deletions(-)

diff --git a/src/components/chat/components/playBar/PlayBar.vue b/src/components/chat/components/playBar/PlayBar.vue
index 12294de..d684978 100644
--- a/src/components/chat/components/playBar/PlayBar.vue
+++ b/src/components/chat/components/playBar/PlayBar.vue
@@ -76,17 +76,16 @@
 	}
 };
 const audioChangeWord = () => {
-	// navigator.getUserMedia(
-	// 	{ audio: true },
-	// 	function onSuccess(stream) {
-	// 		voicePageIsShow.value = true;
-	// 	},
-	// 	function onError(error) {
-	// 		ElMessage.warning('璇锋墦寮�楹﹀厠椋庢潈闄�');
-	// 	}
-	// );
+	navigator.getUserMedia(
+		{ audio: true },
+		function onSuccess(stream) {
+			voicePageIsShow.value = true;
+		},
+		function onError(error) {
+			ElMessage.warning('璇锋墦寮�楹﹀厠椋庢潈闄�');
+		}
+	);
 
-	voicePageIsShow.value = true;
 
 };
 </script>

--
Gitblit v1.9.3