diff --git a/frontend/src/views/system/datasource/DsConfiguration.vue b/frontend/src/views/system/datasource/DsConfiguration.vue index d0cc852810..00e325fa11 100644 --- a/frontend/src/views/system/datasource/DsConfiguration.vue +++ b/frontend/src/views/system/datasource/DsConfiguration.vue @@ -1373,6 +1373,11 @@ export default { margin-top: 4px; } } + + .cell.el-tooltip { + display: flex; + align-items: center; + } } diff --git a/frontend/src/views/system/task/filterUserRecord.vue b/frontend/src/views/system/task/filterUserRecord.vue index 2cacdf5af6..b7ec0f0c78 100644 --- a/frontend/src/views/system/task/filterUserRecord.vue +++ b/frontend/src/views/system/task/filterUserRecord.vue @@ -225,12 +225,6 @@ export default { const datasetIdx = this.selectDatasets.findIndex((ele) => ele.id === id); if (datasetIdx !== -1) { this.selectDatasets.splice(datasetIdx, 1); - this.selectDatasetsCahe = this.selectDatasetsCahe.filter( - (ele) => ele.id !== id - ); - this.datasetCahe = this.datasetCahe.filter((ele) => ele.id !== id); - this.$refs.datasetTreeRef.filter(id); - return; } this.activeDataset.push(id); this.selectDatasetsCahe.push({ id, name }); @@ -241,9 +235,13 @@ export default { const dataset = this.datasetCahe.find((ele) => ele.id === id); this.selectDatasets.push(dataset); this.activeDataset = this.activeDataset.filter((ele) => ele !== id); + this.datasetCahe = this.datasetCahe.filter( + (ele) => ele.id !== id + ); this.selectDatasetsCahe = this.selectDatasetsCahe.filter( (ele) => ele.id !== id ); + this.$refs.datasetTreeRef.filter(true); }, search() { this.userDrawer = false;