perf: 优化文档列表按钮

This commit is contained in:
shaohuzhang1 2024-10-30 13:39:20 +08:00 committed by shaohuzhang1
parent 7ed2d11630
commit 169613ec6a

View File

@ -13,7 +13,6 @@
<el-button v-if="datasetDetail.type === '1'" type="primary" @click="importDoc"
>导入文档</el-button
>
<el-button @click="syncDataset" v-if="datasetDetail.type === '1'">同步知识库</el-button>
<el-button
@click="syncMulDocument"
:disabled="multipleSelection.length === 0"
@ -694,7 +693,6 @@ function openGenerateDialog(row?: any) {
GenerateRelatedDialogRef.value.open(arr)
}
onMounted(() => {
getDetail()
if (beforePagination.value) {