mirror of
https://github.com/1Panel-dev/MaxKB.git
synced 2025-12-26 01:33:05 +00:00
fix: 结果调试下拉框关闭问题
This commit is contained in:
parent
9bb226da96
commit
8145a54233
|
|
@ -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 />
|
||||
|
|
|
|||
|
|
@ -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) {
|
||||
|
|
|
|||
Loading…
Reference in New Issue