Skip to content

Commit 955e5a4

Browse files
fix: The import document for the Web knowledge base displays an error
1 parent 4040de4 commit 955e5a4

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

‎ui/src/views/document/component/ImportDocumentDialog.vue‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@
8383
<el-form-item prop="allow_download">
8484
<el-checkbox v-model="form.allow_download">
8585
{{
86-
type === '1'
86+
type == 1
8787
? $t('views.document.form.allow_preview')
8888
: $t('views.document.form.allow_download')
8989
}}

‎ui/src/views/paragraph/index.vue‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
<div class="flex align-center" style="width: 78%">
44
<back-button to="-1" style="margin-left: -4px"></back-button>
55
<h3 style="display: inline-block">{{ documentDetail?.name }}</h3>
6-
<el-text type="info" v-if="documentDetail?.type === '1'"
6+
<el-text type="info" v-if="documentDetail?.type == 1"
77
>({{ $t('views.document.form.source_url.label') }}:<el-link
88
:href="documentDetail?.meta?.source_url"
99
target="_blank"

0 commit comments

Comments
 (0)