Skip to content

Commit 136af0a

Browse files
[fix]更新include-openalyers 10.5.0
1 parent 95b445f commit 136af0a

File tree

1 file changed

+9
-3
lines changed

1 file changed

+9
-3
lines changed

dist/openlayers/include-openlayers.js

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -56,8 +56,8 @@
5656
var excludes = (targetScript.getAttribute('exclude') || '').split(',');
5757
// 在线
5858
if (!inArray(includes, 'ol-debug') && !inArray(includes, 'ol@4.6.5') && !inArray(excludes, 'ol')) {
59-
inputCSS(libsurl + '/openlayers/7.5.2/ol.min.css');
60-
inputScript(libsurl + '/openlayers/7.5.2/ol.js');
59+
inputCSS(libsurl + '/openlayers/10.5.0/ol.min.css');
60+
inputScript(libsurl + '/openlayers/10.5.0/ol.min.js');
6161
}
6262
if (inArray(includes, 'ol@4.6.5')) {
6363
inputCSS(libsurl + '/openlayers/4.6.5/ol.css');
@@ -83,7 +83,7 @@
8383
inputScript(libsurl + '/proj4/2.17.0/proj4.min.js');
8484
}
8585
if (inArray(includes, 'ol3-echarts')) {
86-
inputScript(includes + '/openlayers/ol3-echarts/4.0.1-1/ol-echarts.js');
86+
inputScript(libsurl + '/openlayers/ol3-echarts/4.0.2/ol-echarts.min.js');
8787
}
8888
if (inArray(includes, 'ol3-echarts@1.3.6')) {
8989
inputScript(libsurl + '/openlayers/ol3-echarts/1.3.6/ol3Echarts.min.js');
@@ -120,6 +120,12 @@
120120
if (inArray(includes, 'xlsx')) {
121121
inputScript(libsurl + '/xlsx/0.19.3/xlsx.core.min.js');
122122
}
123+
if (inArray(includes, 'lodash')) {
124+
inputScript(libsurl + '/lodash/4.17.21/lodash.min.js');
125+
}
126+
if (inArray(includes, 'ugcwasm')) {
127+
inputScript(libsurl + '/ugcwasm/1.0.1/UGCWasmAll.js');
128+
}
123129

124130
// dist
125131
if (!inArray(excludes, 'iclient-openlayers')) {

0 commit comments

Comments
 (0)