Skip to content

Commit 2f5c3ed

Browse files
committed
fix(web): 修正按钮文本描述从"选择失败"到"选择所有失败的文件"
1 parent 900d0ca commit 2f5c3ed

File tree

3 files changed

+6
-1
lines changed

3 files changed

+6
-1
lines changed

docs/latest/changelog/roadmap.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@
1010
- 集成 neo4j mcp (或者自己构建工具)
1111
- 文档解析部分的 markdown 中的图片替换为内部可访问的链接 (2/4)
1212
- chat_model 的 call 需要异步
13+
- 优化分块儿逻辑,移除 QA 分块,集成到普通分块儿中
1314

1415
### Bugs
1516
- 部分异常状态下,智能体的模型名称出现重叠[#279](https://github.com/xerrors/Yuxi-Know/issues/279)

web/src/components/FileTable.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@
5656
:disabled="lock"
5757
title="选择所有失败的文件"
5858
>
59-
选择失败
59+
选择所有失败的文件
6060
</a-button>
6161
</div>
6262
<div style="display: flex; gap: 4px;">

web/src/components/QuerySection.vue

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -63,6 +63,7 @@
6363
</div>
6464
<div style="display: flex; gap: 12px; align-items: center;">
6565
<a-switch
66+
v-if="!isLightRAG"
6667
v-model:checked="showRawData"
6768
checked-children="格式化"
6869
un-checked-children="原始"
@@ -190,6 +191,9 @@ const searchLoading = computed(() => store.state.searchLoading);
190191
const queryResult = ref('');
191192
const showRawData = ref(true);
192193
194+
// 判断是否为 LightRAG 类型知识库
195+
const isLightRAG = computed(() => store.database?.kb_type?.toLowerCase() === 'lightrag');
196+
193197
// 查询测试
194198
const queryText = ref('');
195199

0 commit comments

Comments
 (0)