fix: 修复提交按钮因为合并导致失效 #31

This commit is contained in:
ChenZhaoYu 2023-02-15 14:25:25 +08:00
parent cb8e2cf814
commit d9761ed0e5
1 changed files with 1 additions and 1 deletions

View File

@ -126,7 +126,7 @@ watch(
</span> </span>
</HoverButton> </HoverButton>
<NInput v-model:value="prompt" placeholder="Type a message..." @keypress="handleEnter" /> <NInput v-model:value="prompt" placeholder="Type a message..." @keypress="handleEnter" />
<NButton type="primary" :loading="loading" @click="handleCancel"> <NButton type="primary" :loading="loading" @click="handleSubmit">
<template #icon> <template #icon>
<SvgIcon icon="ri:send-plane-fill" /> <SvgIcon icon="ri:send-plane-fill" />
</template> </template>