feat: 删除多余的内容

This commit is contained in:
ChenZhaoYu
2023-02-09 15:18:30 +08:00
parent d796e10ec6
commit 93f4af22a2
15 changed files with 37 additions and 761 deletions

View File

@@ -96,7 +96,12 @@ function addMessage(message: string, user = false, error = false) {
</main>
<footer class="p-4">
<div class="flex items-center justify-between space-x-2">
<NInput v-model:value="value" placeholder="Type a message" :disabled="loading" @keyup="handleEnter" />
<NInput
v-model:value="value"
placeholder="Type a message"
:disabled="loading"
@keyup="handleEnter"
/>
<NButton type="primary" :loading="loading" @click="handleSubmit">
<SvgIcon icon="ri:send-plane-fill" />
</NButton>