chore: format

main
ChenZhaoYu 2 years ago
parent c0a1b5606e
commit 6b8ba6302a

@ -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>

Loading…
Cancel
Save