mirror of
https://github.com/1Panel-dev/MaxKB.git
synced 2025-12-26 01:33:05 +00:00
Merge branch 'main' of github.com:maxkb-dev/maxkb
This commit is contained in:
commit
8c6cd3b9a4
|
|
@ -85,8 +85,8 @@
|
|||
plain
|
||||
size="small"
|
||||
@click="openParagraph(item)"
|
||||
:disabled="item.paragraph_list?.length === 0"
|
||||
>引用分段:{{ item.paragraph_list?.length }}</el-button
|
||||
:disabled="!item.paragraph_list || item.paragraph_list?.length === 0"
|
||||
>引用分段:{{ item.paragraph_list?.length || 0 }}</el-button
|
||||
>
|
||||
<el-tag type="info" effect="plain">
|
||||
消耗 tokens: {{ item?.message_tokens + item?.answer_tokens }}
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
<template>
|
||||
<el-dialog title="编辑分段" v-model="dialogVisible" width="600">
|
||||
<ParagraphForm ref="paragraphFormRef" :data="detail" :isEdit="true"/>
|
||||
<el-dialog title="编辑分段" v-model="dialogVisible" width="600" destroy-on-close>
|
||||
<ParagraphForm ref="paragraphFormRef" :data="detail" :isEdit="true" />
|
||||
<template #footer>
|
||||
<span class="dialog-footer">
|
||||
<el-button @click.prevent="dialogVisible = false"> 取消 </el-button>
|
||||
|
|
|
|||
Loading…
Reference in New Issue