diff --git a/src/pages/dialog/index.vue b/src/pages/dialog/index.vue index db65c70..1605746 100644 --- a/src/pages/dialog/index.vue +++ b/src/pages/dialog/index.vue @@ -219,7 +219,7 @@ --> -
+
{{ item.voiceContent }}
@@ -293,9 +293,9 @@
{ //切换键盘输入/语音输入 const changeEditorMode = () => { state.value.isUseSpeech = !state.value.isUseSpeech + if(state.value.isUseSpeech){ + //如果切换为语音输入,则删除引用 + state.value.quoteInfo = null + } handleHidePanel() } @@ -1445,6 +1449,9 @@ const multipleChoose = (item) => { const actionCite = (item) => { console.log('引用') + if(state.value.isUseSpeech){ + state.value.isUseSpeech = false + } state.value.quoteInfo = item } @@ -2698,6 +2705,11 @@ const convertText = (msgItem) => { } }) } +//语音输入框高度 +const chatInputHeight = computed(() => { + console.error(rpxToPx(72) + 'px', 'chatInputHeight') + return rpxToPx(72) + 'px' +})