1
0
forked from Leaf/amber-ui

移除 输入框自动消失

This commit is contained in:
Twilight 2024-09-19 16:55:59 +08:00
parent 792e52e0ef
commit 898e0ae0d5

View File

@ -20,14 +20,7 @@
</div>
</div>
<div
class="fixed bottom-0 left-0 right-0"
:class="
!appStore.contentScrollOnBottom && appStore.contentScrollable
? 'hidden'
: 'mb-6'
"
>
<div class="fixed bottom-0 left-0 right-0">
<!-- <div
class="mx-auto w-2xl max-w-2xl text-center mb-3 animate__animated animate__pulse text-lg"
v-if="toolCalling"
@ -146,7 +139,6 @@
<n-text
depth="3"
class="text-center block mt-2 mb-2 text-sm select-none"
v-show="appStore.contentScrollOnBottom"
>
AI 也有可能犯错误请在使用之前核查信息
</n-text>
@ -740,12 +732,11 @@ const uploadFile = ({
onProgress,
}: UploadCustomRequestOptions) => {
// const formData = new FormData();
// formData.append(file.name, file.file as File);
// uploading.value = true;
getApi()
.ChatMessage.apiV1ChatsIdFilesPost(
Number(chatId.value),