Skip to content

Commit 65e2946

Browse files
committed
【fix】优化引入方式 review by zhaoqin
1 parent c178d32 commit 65e2946

File tree

3 files changed

+6
-4
lines changed

3 files changed

+6
-4
lines changed

dist/openlayers/iclient9-openlayers-es6.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -72881,8 +72881,8 @@ var external_function_try_return_jsonsql_catch_e_return_default = /*#__PURE__*/_
7288172881

7288272882

7288372883

72884-
72885-
72884+
// eslint-disable-line import/extensions
72885+
// eslint-disable-line import/extensions
7288672886

7288772887

7288872888
window.proj4 = lib_default.a;

dist/openlayers/iclient9-openlayers.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -75067,6 +75067,8 @@ function _possibleConstructorReturn(self, call) { if (!self) { throw new Referen
7506775067
function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function, not " + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; } /* Copyright© 2000 - 2019 SuperMap Software Co.Ltd. All rights reserved.
7506875068
* This program are made available under the terms of the Apache License, Version 2.0
7506975069
* which accompanies this distribution and is available at http://www.apache.org/licenses/LICENSE-2.0.html.*/
75070+
// eslint-disable-line import/extensions
75071+
// eslint-disable-line import/extensions
7507075072

7507175073

7507275074
window.proj4 = _proj2.default;

src/openlayers/mapping/WebMap.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,8 @@ import {
1818
StyleUtils
1919
} from '../core/StyleUtils';
2020

21-
import provincialCenterData from './webmap/config/ProvinceCenter';
22-
import municipalCenterData from './webmap/config/MunicipalCenter';
21+
import provincialCenterData from './webmap/config/ProvinceCenter.json';// eslint-disable-line import/extensions
22+
import municipalCenterData from './webmap/config/MunicipalCenter.json';// eslint-disable-line import/extensions
2323
import jsonsql from 'jsonsql';
2424

2525
window.proj4 = proj4;

0 commit comments

Comments
 (0)