From d68d4c8773564c5dffbf021152061b24e61c482e Mon Sep 17 00:00:00 2001 From: lifizer <913626195@qq.com> Date: Thu, 10 Apr 2025 16:26:54 +0800 Subject: [PATCH] =?UTF-8?q?Fix(AI):[#3620]=E6=9D=83=E9=99=90=E7=94=B3?= =?UTF-8?q?=E8=AF=B7=E7=82=B9=E5=87=BB=E6=8B=92=E7=BB=9D=E5=90=8E=EF=BC=8C?= =?UTF-8?q?=E5=86=8D=E6=AC=A1=E7=82=B9=E5=87=BB=E8=AF=AD=E9=9F=B3=E8=BE=93?= =?UTF-8?q?=E5=85=A5=E5=B0=B1=E4=B8=8D=E4=BC=9A=E5=86=8D=E5=BC=B9=E5=87=BA?= =?UTF-8?q?=E6=9D=83=E9=99=90=E7=94=B3=E8=AF=B7=E5=BC=B9=E7=AA=97?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- aiChat/components/bottomSend.vue | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/aiChat/components/bottomSend.vue b/aiChat/components/bottomSend.vue index f2baed1..89e8668 100644 --- a/aiChat/components/bottomSend.vue +++ b/aiChat/components/bottomSend.vue @@ -179,6 +179,17 @@ export default { fail: () => { console.log('获取录音权限失败') this.recordPermission = false + uni.showModal({ + title: '提示', + content: '需要获取麦克风权限', + confirmText: '前往设置', + confirmColor: '#3D4CF1', + success(res2) { + if (res2.confirm) { + wx.openSetting() + } + } + }) } }) } else {