Merge pull request #3027 from dataease/pr@dev_station_msg

Pr@dev station msg
This commit is contained in:
dataeaseShu 2022-09-01 08:05:42 +08:00 committed by GitHub
commit 7df17c6706
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 9 additions and 6 deletions

View File

@ -1373,6 +1373,11 @@ export default {
margin-top: 4px;
}
}
.cell.el-tooltip {
display: flex;
align-items: center;
}
}
</style>

View File

@ -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;