diff --git a/core/core-frontend/src/views/system/parameter/map/Geometry.vue b/core/core-frontend/src/views/system/parameter/map/Geometry.vue
index 4b8438ef10..aefa2dd439 100644
--- a/core/core-frontend/src/views/system/parameter/map/Geometry.vue
+++ b/core/core-frontend/src/views/system/parameter/map/Geometry.vue
@@ -150,8 +150,8 @@
-
+
-
+
{
fontSize: 20,
opacity: 1,
fontWeight: 'bold',
- textAnchor: 'center'
+ textAnchor: 'center',
+ textAllowOverlap: true
}
})
if (mapInstance) {
@@ -666,7 +667,7 @@ const renderMap = async () => {
value: area => {
let color = 'white'
subAreaList.value?.forEach((subArea, i) => {
- if (subArea.scope?.includes(area.adcode)) {
+ if (subArea.scopeArr?.includes('156' + area.adcode)) {
color = AREA_COLOR[i % AREA_COLOR.length]
}
})
@@ -839,16 +840,17 @@ onBeforeMount(() => {
.sub-area-view {
display: flex;
flex-direction: column;
- width: 100;
+ overflow: hidden;
+ width: 100%;
height: 100%;
.map-container {
- flex: 7;
+ flex: 1;
}
.ed-divider {
margin: 10px 0;
}
.sub-area-editor {
- flex: 3;
+ height: 350px;
.header {
display: flex;
justify-content: space-between;