- {{
- node.label
- }}
+ {{ node.label }}
@@ -3651,7 +3662,8 @@ defineExpose({
.content {
display: flex;
align-items: center;
- .label {
+ width: 100%;
+ .label-tree {
margin-left: 5px;
width: calc(100% - 45px);
}
diff --git a/core/core-frontend/src/views/chart/components/editor/dataset-select/DatasetSelect.vue b/core/core-frontend/src/views/chart/components/editor/dataset-select/DatasetSelect.vue
index 95b4c4eb5c..4d0ef5c086 100644
--- a/core/core-frontend/src/views/chart/components/editor/dataset-select/DatasetSelect.vue
+++ b/core/core-frontend/src/views/chart/components/editor/dataset-select/DatasetSelect.vue
@@ -14,8 +14,9 @@ import { useEmitt } from '@/hooks/web/useEmitt'
import { useCache } from '@/hooks/web/useCache'
import { useUserStoreWithOut } from '@/store/modules/user'
import { dvMainStoreWithOut } from '@/store/modules/data-visualization/dvMain'
-const dvMainStore = dvMainStoreWithOut()
+import treeSort from '@/utils/treeSortUtils'
+const dvMainStore = dvMainStoreWithOut()
const { wsCache } = useCache('localStorage')
const userStore = useUserStoreWithOut()
@@ -43,18 +44,20 @@ const loadingDatasetTree = ref(false)
const orgCheck = ref(true)
const datasetTree = ref