Skip to content

Commit 8656993

Browse files
【fix】 优化组件代码,修改es6语法 review by xiongjiaojiao
1 parent df8b5c6 commit 8656993

29 files changed

+2585
-2628
lines changed

examples/component/components_animate_marker_layer_vue.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@
7979
var queryService = new mapboxgl.supermap.QueryService(url).queryBySQL(param, function(serviceResult) {
8080
var recordsets = serviceResult && serviceResult.result && serviceResult.result.recordsets;
8181
var features = recordsets && recordsets[0] && recordsets[0].features;
82-
features.features.forEach(feature => {
82+
features.features.forEach(function(feature){
8383
feature.geometry.coordinates = _unproject(feature.geometry.coordinates);
8484
feature.properties.name = feature.properties.texts[0];
8585
});

examples/component/components_basic_vue.html

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,12 @@
4343
display: inline-block;
4444
vertical-align: middle;
4545
}
46+
.sm-component-indicator {
47+
padding-left: 0px;
48+
}
49+
.sm-component-indicator .sm-component-indicator__head{
50+
padding-left: 0px;
51+
}
4652
</style>
4753
</head>
4854

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