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

main
ChenZhaoYu 2 years ago
parent cb8e2cf814
commit d9761ed0e5

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

Loading…
Cancel
Save