mirror of
https://github.com/dataease/dataease.git
synced 2026-05-15 05:22:13 +08:00
fix(图表): 去除地图地名映射中名称为空的选项
This commit is contained in:
@@ -113,7 +113,7 @@ const finishEdit = () => {
|
||||
const updateAreaData = debounce(() => {
|
||||
const filteredData = state.currentData.filter(item => {
|
||||
if (!search.value?.trim()) {
|
||||
return true
|
||||
return item.originName
|
||||
}
|
||||
return item.mappedName?.includes(search.value)
|
||||
})
|
||||
@@ -247,6 +247,9 @@ onMounted(() => {
|
||||
:deep(.area-map-table-header-cell-dark) {
|
||||
background-color: #1a1a1a;
|
||||
color: @canvas-main-font-color-dark;
|
||||
&:hover {
|
||||
background-color: #1a1a1a;
|
||||
}
|
||||
}
|
||||
:deep(.area-map-table-row-dark) {
|
||||
.area-map-table-cell-dark {
|
||||
@@ -264,6 +267,9 @@ onMounted(() => {
|
||||
:deep(.ed-table__empty-block) {
|
||||
background-color: @side-content-background;
|
||||
}
|
||||
:deep(.ed-table__header-wrapper) {
|
||||
border-top: unset;
|
||||
}
|
||||
}
|
||||
}
|
||||
</style>
|
||||
|
||||
Reference in New Issue
Block a user