|
83 | 83 | inputScript('https://iclient.supermap.io/web/libs/echartsLayer/EchartsLayer.min.js'); |
84 | 84 | } |
85 | 85 | if (inArray(includes, 'three')) { |
86 | | - inputScript('https://cdn.bootcss.com/three.js/92/three.min.js'); |
| 86 | + inputScript('https://cdn.jsdelivr.net/npm/three@0.121.1/build/three.js'); |
87 | 87 | } |
88 | 88 | if (inArray(includes, 'xlsx')) { |
89 | 89 | inputScript('https://cdn.bootcss.com/xlsx/0.16.7/xlsx.core.min.js'); |
|
118 | 118 | if (inArray(includes, 'convert')) { |
119 | 119 | inputScript('https://iclient.supermap.io/web/libs/xml-js/1.6.8/xml-js.min.js'); |
120 | 120 | } |
121 | | - if (inArray(includes, 'LoaderSupport')) { |
122 | | - inputScript('https://iclient.supermap.io/web/libs/three/plugins/loaders/LoaderCommons.js'); |
123 | | - inputScript('https://iclient.supermap.io/web/libs/three/plugins/loaders/LoaderBuilder.js'); |
124 | | - inputScript('https://iclient.supermap.io/web/libs/three/plugins/loaders/LoaderWorkerSupport.js'); |
| 121 | + if (inArray(includes, 'LegacyJSONLoader')) { |
| 122 | + inputScript('https://cdn.jsdelivr.net/npm/three@0.110.0/examples/js/loaders/deprecated/LegacyJSONLoader.js'); |
125 | 123 | } |
126 | 124 | if (inArray(includes, 'OBJLoader')) { |
127 | | - inputScript('https://iclient.supermap.io/web/libs/three/plugins/loaders/OBJLoader.js'); |
128 | | - } |
129 | | - if (inArray(includes, 'OBJLoader2')) { |
130 | | - inputScript('https://iclient.supermap.io/web/libs/three/plugins/loaders/OBJLoader2.js'); |
| 125 | + inputScript('https://cdn.jsdelivr.net/npm/three@0.121.1/examples/js/loaders/OBJLoader.js'); |
131 | 126 | } |
132 | 127 | if (inArray(includes, 'MTLLoader')) { |
133 | | - inputScript('https://iclient.supermap.io/web/libs/three/plugins/loaders/MTLLoader.js'); |
| 128 | + inputScript('https://cdn.jsdelivr.net/npm/three@0.121.1/examples/js/loaders/MTLLoader.js'); |
134 | 129 | } |
135 | 130 | if (inArray(includes, 'GLTFLoader')) { |
136 | | - inputScript('https://iclient.supermap.io/web/libs/three/plugins/loaders/GLTFLoader.js'); |
| 131 | + inputScript('https://cdn.jsdelivr.net/npm/three@0.121.1/examples/js/loaders/GLTFLoader.js'); |
137 | 132 | } |
138 | 133 | if (inArray(includes, 'echarts-gl')) { |
139 | 134 | inputScript('https://iclient.supermap.io/web/libs/echarts-gl/1.1.2/echarts-gl.min.js'); |
|
0 commit comments