|
56 | 56 | var excludes = (targetScript.getAttribute('exclude') || '').split(',');
|
57 | 57 | // 在线
|
58 | 58 | 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'); |
61 | 61 | }
|
62 | 62 | if (inArray(includes, 'ol@4.6.5')) {
|
63 | 63 | inputCSS(libsurl + '/openlayers/4.6.5/ol.css');
|
|
83 | 83 | inputScript(libsurl + '/proj4/2.17.0/proj4.min.js');
|
84 | 84 | }
|
85 | 85 | 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'); |
87 | 87 | }
|
88 | 88 | if (inArray(includes, 'ol3-echarts@1.3.6')) {
|
89 | 89 | inputScript(libsurl + '/openlayers/ol3-echarts/1.3.6/ol3Echarts.min.js');
|
|
120 | 120 | if (inArray(includes, 'xlsx')) {
|
121 | 121 | inputScript(libsurl + '/xlsx/0.19.3/xlsx.core.min.js');
|
122 | 122 | }
|
| 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 | + } |
123 | 129 |
|
124 | 130 | // dist
|
125 | 131 | if (!inArray(excludes, 'iclient-openlayers')) {
|
|
0 commit comments