Merge branch 'main' of github.com:maxkb-dev/maxkb
This commit is contained in:
commit
1dea72522d
@ -26,7 +26,9 @@
|
|||||||
:showIcon="false"
|
:showIcon="false"
|
||||||
>
|
>
|
||||||
<template #icon>
|
<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>
|
</template>
|
||||||
<div class="active-button primary">{{ item.similarity?.toFixed(3) }}</div>
|
<div class="active-button primary">{{ item.similarity?.toFixed(3) }}</div>
|
||||||
<template #description>
|
<template #description>
|
||||||
|
|||||||
@ -7,7 +7,7 @@
|
|||||||
ref="quickInputRef"
|
ref="quickInputRef"
|
||||||
v-model="inputValue"
|
v-model="inputValue"
|
||||||
placeholder="请输入文档名称"
|
placeholder="请输入文档名称"
|
||||||
class="w-240 mr-12"
|
class="w-500 mr-12"
|
||||||
autofocus
|
autofocus
|
||||||
/>
|
/>
|
||||||
|
|
||||||
|
|||||||
@ -108,6 +108,9 @@ h4 {
|
|||||||
.w-240 {
|
.w-240 {
|
||||||
width: 240px;
|
width: 240px;
|
||||||
}
|
}
|
||||||
|
.w-500 {
|
||||||
|
width: 500px;
|
||||||
|
}
|
||||||
|
|
||||||
.mt-4 {
|
.mt-4 {
|
||||||
margin-top: calc(var(--app-base-px) - 4px);
|
margin-top: calc(var(--app-base-px) - 4px);
|
||||||
|
|||||||
@ -16,8 +16,8 @@
|
|||||||
action="#"
|
action="#"
|
||||||
:auto-upload="false"
|
:auto-upload="false"
|
||||||
:show-file-list="false"
|
:show-file-list="false"
|
||||||
accept=".txt, .md"
|
accept=".txt, .md, .csv, .log"
|
||||||
limit="50"
|
:limit="50"
|
||||||
:on-exceed="onExceed"
|
:on-exceed="onExceed"
|
||||||
>
|
>
|
||||||
<img src="@/assets/upload-icon.svg" alt="" />
|
<img src="@/assets/upload-icon.svg" alt="" />
|
||||||
|
|||||||
@ -42,7 +42,8 @@
|
|||||||
@click="editParagraph(item)"
|
@click="editParagraph(item)"
|
||||||
>
|
>
|
||||||
<template #icon>
|
<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>
|
</template>
|
||||||
<div class="active-button primary">{{ item.similarity?.toFixed(3) }}</div>
|
<div class="active-button primary">{{ item.similarity?.toFixed(3) }}</div>
|
||||||
<template #footer>
|
<template #footer>
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user