fix(图表): 去除地图地名映射中名称为空的选项

This commit is contained in:
wisonic
2025-09-29 18:20:39 +08:00
committed by wisonic-s
parent 0936bca755
commit 554e8995ed

View File

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