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 {