Merge branch 'main' of github.com:maxkb-dev/maxkb

This commit is contained in:
shaohuzhang1 2024-03-04 17:01:38 +08:00
commit 1dea72522d
5 changed files with 11 additions and 5 deletions

View File

@ -26,7 +26,9 @@
:showIcon="false"
>
<template #icon>
<AppAvatar :name="index + 1 + ''" class="mr-12 avatar-light" :size="22" />
<AppAvatar class="mr-12 avatar-light" :size="22">
{{ index + 1 + '' }}</AppAvatar
>
</template>
<div class="active-button primary">{{ item.similarity?.toFixed(3) }}</div>
<template #description>

View File

@ -7,7 +7,7 @@
ref="quickInputRef"
v-model="inputValue"
placeholder="请输入文档名称"
class="w-240 mr-12"
class="w-500 mr-12"
autofocus
/>

View File

@ -108,6 +108,9 @@ h4 {
.w-240 {
width: 240px;
}
.w-500 {
width: 500px;
}
.mt-4 {
margin-top: calc(var(--app-base-px) - 4px);

View File

@ -16,8 +16,8 @@
action="#"
:auto-upload="false"
:show-file-list="false"
accept=".txt, .md"
limit="50"
accept=".txt, .md, .csv, .log"
:limit="50"
:on-exceed="onExceed"
>
<img src="@/assets/upload-icon.svg" alt="" />

View File

@ -42,7 +42,8 @@
@click="editParagraph(item)"
>
<template #icon>
<AppAvatar :name="index + 1 + ''" class="mr-12 avatar-light" :size="22" />
<AppAvatar class="mr-12 avatar-light" :size="22">
{{ index + 1 + '' }}</AppAvatar>
</template>
<div class="active-button primary">{{ item.similarity?.toFixed(3) }}</div>
<template #footer>