召回测试弹框与切片弹框样式对齐

召回测试弹框宽度从 900px 调到 1200px 并启用大弹框样式,高度、上下间距与切片弹框保持一致。结果区域改用 flex 填充而不是写死的 400px 高度。
This commit is contained in:
hrz 2026-10-09 17:07:28 +08:00
parent 96c224c4e4
commit cac709c5bc

View file

@ -190,7 +190,8 @@
<CustomDialog
:title="$t('knowledgeFileUpload.retrievalTest')"
:visible.sync="retrievalTestDialogVisible"
width="900px"
width="1200px"
size="large"
:close-on-click-modal="false"
:confirm-text="$t('knowledgeFileUpload.executeTest')"
:confirmLoading="retrievalTestLoading"
@ -1175,8 +1176,20 @@ export default {
/* ========== Retrieval Test Dialog ========== */
.retrieval-test-form {
display: flex;
flex-direction: column;
height: 100%;
.retrieval-test-result {
flex: 1;
display: flex;
flex-direction: column;
min-height: 0;
}
.result-chunks {
max-height: 400px;
flex: 1;
min-height: 0;
overflow-y: auto;
}