提交 e343b1e9 编写于 作者: View Design's avatar View Design

Update Ask.vue

上级 8b74ecb7
...@@ -17,14 +17,6 @@ ...@@ -17,14 +17,6 @@
:padded="false" :padded="false"
variant="none" variant="none"
/> />
<UButton
v-if="continueQuestion"
:ui="{ rounded: 'rounded-full' }"
color="gray"
variant="ghost"
leading-icon="i-heroicons-x-mark-20-solid"
@click="handleClearQuestion"
/>
<div class="flex flex-shrink-0 gap-2"> <div class="flex flex-shrink-0 gap-2">
<UButton <UButton
v-if="!asking" v-if="!asking"
...@@ -82,10 +74,6 @@ function handleFocus () { ...@@ -82,10 +74,6 @@ function handleFocus () {
queryInput.value.textarea.focus() queryInput.value.textarea.focus()
} }
const continueQuestion = ref('') const continueQuestion = ref('')
function handleClearQuestion () {
continueQuestion.value = ''
handleFocus()
}
function handleStop () { function handleStop () {
emits('stop') emits('stop')
} }
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册