Skip to content

Commit b93a8f8

Browse files
committed
【fix】优化示例
1 parent 9138de3 commit b93a8f8

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

examples/component/components_geojson_react.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@
6464
};
6565
var layerStyle = new SuperMap.Components.commontypes.CircleStyle();
6666

67-
$.get('../data/data671MeteorologicalStations.geojson', function(res) {
67+
$.getJSON('../data/data671MeteorologicalStations.geojson', function(res) {
6868
var data = res;
6969

7070
ReactDOM.render(

examples/component/components_geojson_vue.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@
3434
</div>
3535
<script>
3636
var data;
37-
$.get("../data/data671MeteorologicalStations.geojson", function(res) {
37+
$.getJSON("../data/data671MeteorologicalStations.geojson", function(res) {
3838
data = res;
3939
new Vue({
4040
el: "#main",

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy