From 0a40d75e1a1468c0ff305d6169af90ae34eae938 Mon Sep 17 00:00:00 2001 From: qiwei Date: Fri, 18 Oct 2024 14:00:38 +0800 Subject: [PATCH] =?UTF-8?q?fix=20=E7=BB=84=E4=BB=B6=20geojson=5Flayer=20?= =?UTF-8?q?=E7=A4=BA=E4=BE=8B=E6=8A=A5=E9=94=99?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- examples/component/components_geojson_react.html | 3 +-- examples/component/components_geojson_vue.html | 2 +- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/examples/component/components_geojson_react.html b/examples/component/components_geojson_react.html index 7372aea27..81ec9dcc2 100644 --- a/examples/component/components_geojson_react.html +++ b/examples/component/components_geojson_react.html @@ -64,9 +64,8 @@ }; var layerStyle = new SuperMap.Components.commontypes.CircleStyle(); - $.get('../data/data671MeteorologicalStations.geojson', function(res) { + $.getJSON('../data/data671MeteorologicalStations.geojson', function(res) { var data = res; - ReactDOM.render( diff --git a/examples/component/components_geojson_vue.html b/examples/component/components_geojson_vue.html index a42456feb..c8b4b14a6 100644 --- a/examples/component/components_geojson_vue.html +++ b/examples/component/components_geojson_vue.html @@ -34,7 +34,7 @@