From 39ae2cbdbe7927eb22c4b1507c94947bb9080770 Mon Sep 17 00:00:00 2001
From: licuizhu <1065490369@qq.com>
Date: Mon, 29 Jan 2024 22:49:41 +0800
Subject: [PATCH] =?UTF-8?q?=E5=88=9B=E5=BB=BA=E5=9B=BE=E5=B1=82=EF=BC=8C?=
=?UTF-8?q?=E5=88=9B=E5=BB=BA=E7=82=B9=E4=BD=8D=E4=BC=98=E5=8C=96?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
src/pages/BaseMap/LayerData/index.js | 10 ++++++----
src/pages/BaseMap/index.js | 15 ++++++++-------
2 files changed, 14 insertions(+), 11 deletions(-)
diff --git a/src/pages/BaseMap/LayerData/index.js b/src/pages/BaseMap/LayerData/index.js
index 7a51b9e9..37783aac 100644
--- a/src/pages/BaseMap/LayerData/index.js
+++ b/src/pages/BaseMap/LayerData/index.js
@@ -118,7 +118,9 @@ class LayerData extends React.Component {
})
} else {
createLayer({ //创建图层
- id: this.state.addLayer.id,
+ // id: this.state.addLayer.id,
+ cityAdcode: this.props.adcode.cityAdcode,
+ districtAdcode: this.props.adcode.districtAdcode,
logoImagePath: this.state.addLayer.logoImagePath,
name: this.state.addLayer.name,
note: this.state.addLayer.note,
@@ -198,9 +200,9 @@ class LayerData extends React.Component {
}
]}>