diff --git a/src/assets/css/components/views/setting/knowledgeBase.scss b/src/assets/css/components/views/setting/knowledgeBase.scss index 061b7fcb..06078660 100644 --- a/src/assets/css/components/views/setting/knowledgeBase.scss +++ b/src/assets/css/components/views/setting/knowledgeBase.scss @@ -273,7 +273,6 @@ .imported-table-box { position: relative; - //height: 413px; height: 394px !important; border: 1px solid #DEDEDE; border-radius: 2px; @@ -414,40 +413,6 @@ .el-form-item__error { display: none; } - - .addTagBtn { - position: absolute; - bottom: 9px; - height: 24px !important; - min-height: 24px !important; - font-size: 12px; - color: #353636; - font-weight: 500; - width: 598px; - margin-left: 10px; - background: rgb(245, 248, 250); - border: 1px #DEDEDE solid; - padding: 0 !important; - box-shadow: 0 2px 4px 0 rgba(51, 51, 51, 0.02); - border-radius: 2px; - font-family: NotoSansHans-Medium !important; - - .add-tag-btn { - color: #575757 !important; - font-size: 9px !important; - margin: 0 8px 2px 8px; - } - - span { - font-family: NotoSansHans-Medium !important; - } - } - - .addTagBtn:hover { - i { - color: #699DC9 !important; - } - } } } @@ -496,3 +461,37 @@ } } } + +.addTagBtn { + position: absolute; + bottom: 9px; + height:24px !important; + min-height: 24px !important; + font-size: 12px; + color: #353636; + font-weight: 500; + width: 598px; + margin-left: 10px; + background: rgb(245, 248, 250); + border: 1px #DEDEDE solid; + padding: 0px !important; + box-shadow: 0 2px 4px 0 rgba(51,51,51,0.02); + border-radius: 2px; + font-family:NotoSansHans-Medium !important; + + .add-tag-btn { + color: #575757 !important; + font-size: 9px !important; + margin: 0 8px 2px 8px; + } + + &:hover { + i { + color: #699DC9 !important; + } + } + + span { + font-family:NotoSansHans-Medium !important; + } +} diff --git a/src/views/setting/KnowledgeBaseForm.vue b/src/views/setting/KnowledgeBaseForm.vue index 84f726e0..593ef4f6 100644 --- a/src/views/setting/KnowledgeBaseForm.vue +++ b/src/views/setting/KnowledgeBaseForm.vue @@ -53,7 +53,6 @@ :before-upload="beforeUpload" :on-progress="onUpload" :on-error="uploadError" - @click="" :class="uploadErrorTip ? 'el-upload--error' : ''" drag :accept="fileTypeLimit" @@ -99,10 +98,10 @@ - - + + - +
{{ importedTableFirstColumn }}Label{{ importedTableFirstColumn }}Label {{ $t('overall.import') }}
@@ -185,7 +184,7 @@