mirror of
https://github.com/Chanzhaoyu/chatgpt-web.git
synced 2025-10-20 10:45:13 +00:00
chore: format
This commit is contained in:
@@ -524,8 +524,14 @@ onUnmounted(() => {
|
|||||||
<NAutoComplete v-model:value="prompt" :options="searchOptions" :render-label="renderOption">
|
<NAutoComplete v-model:value="prompt" :options="searchOptions" :render-label="renderOption">
|
||||||
<template #default="{ handleInput, handleBlur, handleFocus }">
|
<template #default="{ handleInput, handleBlur, handleFocus }">
|
||||||
<NInput
|
<NInput
|
||||||
v-model:value="prompt" type="textarea" :placeholder="placeholder"
|
v-model:value="prompt"
|
||||||
:autosize="{ minRows: 1, maxRows: 2 }" @input="handleInput" @focus="handleFocus" @blur="handleBlur" @keypress="handleEnter"
|
type="textarea"
|
||||||
|
:placeholder="placeholder"
|
||||||
|
:autosize="{ minRows: 1, maxRows: 2 }"
|
||||||
|
@input="handleInput"
|
||||||
|
@focus="handleFocus"
|
||||||
|
@blur="handleBlur"
|
||||||
|
@keypress="handleEnter"
|
||||||
/>
|
/>
|
||||||
</template>
|
</template>
|
||||||
</NAutoComplete>
|
</NAutoComplete>
|
||||||
|
Reference in New Issue
Block a user