Skip to content

Commit 3ee09ac

Browse files
committed
修改引用方式
1 parent 4eecffe commit 3ee09ac

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

dist/leaflet/include-leaflet.js

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -76,8 +76,8 @@
7676
if (inArray(includes, 'deck')) {
7777
inputScript("http://iclient.supermap.io/web/libs/deck.gl/5.1.3/deck.gl.js");
7878
}
79-
if (!inArray(excludes, 'iclient9-leaflet') && !inArray(includes, 'iclient9-plot-leaflet')) {
80-
if (supportES6()) {
79+
if (!inArray(excludes, 'iclient9-leaflet')) {
80+
if (supportES6() && !inArray(includes, 'iclient9-plot-leaflet')) {
8181
inputScript("../../dist/leaflet/iclient9-leaflet-es6.js");
8282
} else {
8383
inputScript("../../dist/leaflet/iclient9-leaflet.js");
@@ -87,7 +87,6 @@
8787
inputCSS("../../dist/leaflet/iclient9-leaflet.min.css");
8888
}
8989
if (inArray(includes, 'iclient9-plot-leaflet')) {
90-
inputScript("../../dist/leaflet/iclient9-leaflet.min.js");
9190
inputScript("../../dist/leaflet/iclient9-plot-leaflet.min.js");
9291
}
9392
if (inArray(includes, 'leaflet.heat')) {

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