Skip to content

Commit

Permalink
Merge branch 'pr@main@feat_delete_chat'
Browse files Browse the repository at this point in the history
  • Loading branch information
wangdan-fit2cloud committed Jun 13, 2024
2 parents 4c1fcba + 3ed8b0b commit 5c697da
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
6 changes: 3 additions & 3 deletions ui/src/components/ai-chat/ParagraphSourceDialog.vue
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,9 @@
append-to-body
align-center
>
<div class="paragraph-source-height">
<div class="mb-8">
<el-scrollbar>
<div class="p-16">
<div class="paragraph-source-height p-16 pb-0">
<el-form label-position="top">
<el-form-item label="用户问题">
<el-input v-model="detail.problem_text" disabled />
Expand Down Expand Up @@ -108,7 +108,7 @@ defineExpose({ open })
padding: 8px !important;
}
.paragraph-source-height {
height: calc(100vh - 260px);
max-height: calc(100vh - 260px);
}
.paragraph-source-card {
height: 260px;
Expand Down
1 change: 1 addition & 0 deletions ui/src/components/card-add/index.vue
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ defineProps({
border: 1px dashed var(--el-border-color);
background: #eff0f1;
border-radius: 8px;
box-sizing: border-box;
.add-icon {
font-size: 14px;
Expand Down
7 changes: 3 additions & 4 deletions ui/src/views/paragraph/index.vue
Original file line number Diff line number Diff line change
@@ -1,12 +1,11 @@
<template>
<LayoutContainer back-to="-1" class="document-detail">
<template #header>
<div style="width: 80%">
<div style="width: 78%">
<h3 style="display: inline-block">{{ documentDetail?.name }}</h3>
<el-text type="info" v-if="documentDetail?.type === '1'"
>(文档地址:<el-link :href="documentDetail?.meta?.source_url" target="_blank">{{
documentDetail?.meta?.source_url
}}</el-link
>(文档地址:<el-link :href="documentDetail?.meta?.source_url" target="_blank">
<span class="break-all">{{ documentDetail?.meta?.source_url }} </span></el-link
>)
</el-text>
</div>
Expand Down

0 comments on commit 5c697da

Please sign in to comment.