fix: 结果调试下拉框关闭问题
Some checks are pending
sync2gitee / repo-sync (push) Waiting to run
Typos Check / Spell Check with Typos (push) Waiting to run

This commit is contained in:
wangdan-fit2cloud 2024-09-13 18:41:32 +08:00
parent 9bb226da96
commit 8145a54233
2 changed files with 7 additions and 4 deletions

View File

@ -1,7 +1,7 @@
<template>
<div ref="aiChatRef" class="ai-chat" :class="log ? 'chart-log' : ''">
<div
v-if="inputFieldList.length > 0 || apiInputFieldList.length > 0"
v-if="inputFieldList.length > 0 || (debug && apiInputFieldList.length > 0)"
class="mb-16"
style="padding: 0 24px"
>
@ -176,7 +176,7 @@
/>
<div class="operate flex align-center">
<span v-if="props.data.stt_model_enable">
<span v-if="props.data.stt_model_enable" class="flex align-center">
<el-button text v-if="mediaRecorderStatus" @click="startRecording">
<el-icon>
<Microphone />

View File

@ -240,8 +240,11 @@ const clickShowDebug = () => {
}
})
}
function clickoutsideDebug() {
showDebug.value = false
function clickoutsideDebug(e: any) {
const Elm = e?.target?.className?.includes?.('el-select')
if (!Elm) {
showDebug.value = false
}
}
function clickNodes(item: any, data?: any) {