forked from Leaf/amber-ui
移除 输入框自动消失
This commit is contained in:
parent
792e52e0ef
commit
898e0ae0d5
@ -20,14 +20,7 @@
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div
|
<div class="fixed bottom-0 left-0 right-0">
|
||||||
class="fixed bottom-0 left-0 right-0"
|
|
||||||
:class="
|
|
||||||
!appStore.contentScrollOnBottom && appStore.contentScrollable
|
|
||||||
? 'hidden'
|
|
||||||
: 'mb-6'
|
|
||||||
"
|
|
||||||
>
|
|
||||||
<!-- <div
|
<!-- <div
|
||||||
class="mx-auto w-2xl max-w-2xl text-center mb-3 animate__animated animate__pulse text-lg"
|
class="mx-auto w-2xl max-w-2xl text-center mb-3 animate__animated animate__pulse text-lg"
|
||||||
v-if="toolCalling"
|
v-if="toolCalling"
|
||||||
@ -146,7 +139,6 @@
|
|||||||
<n-text
|
<n-text
|
||||||
depth="3"
|
depth="3"
|
||||||
class="text-center block mt-2 mb-2 text-sm select-none"
|
class="text-center block mt-2 mb-2 text-sm select-none"
|
||||||
v-show="appStore.contentScrollOnBottom"
|
|
||||||
>
|
>
|
||||||
AI 也有可能犯错误,请在使用之前核查信息。
|
AI 也有可能犯错误,请在使用之前核查信息。
|
||||||
</n-text>
|
</n-text>
|
||||||
@ -740,12 +732,11 @@ const uploadFile = ({
|
|||||||
onProgress,
|
onProgress,
|
||||||
}: UploadCustomRequestOptions) => {
|
}: UploadCustomRequestOptions) => {
|
||||||
// const formData = new FormData();
|
// const formData = new FormData();
|
||||||
|
|
||||||
// formData.append(file.name, file.file as File);
|
// formData.append(file.name, file.file as File);
|
||||||
|
|
||||||
// uploading.value = true;
|
// uploading.value = true;
|
||||||
|
|
||||||
|
|
||||||
getApi()
|
getApi()
|
||||||
.ChatMessage.apiV1ChatsIdFilesPost(
|
.ChatMessage.apiV1ChatsIdFilesPost(
|
||||||
Number(chatId.value),
|
Number(chatId.value),
|
||||||
|
Loading…
Reference in New Issue
Block a user