FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

【fix】优化示例 · SuperMap/iClient-JavaScript@eb8c806 · GitHub

Commit eb8c806

Browse files
committed
【fix】优化示例
1 parent 417a4ab commit eb8c806

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

‎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)

Back | FazBrowse Home | New Git URL