Skip to content

Commit f977317

Browse files
committed
fix UT
1 parent 9a3d1d8 commit f977317

9 files changed

+4
-14
lines changed

dist/iclient-classic.js

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1821,7 +1821,6 @@ var FetchRequest = exports.FetchRequest = _SuperMap2.default.FetchRequest = {
18211821
},
18221822

18231823
_fetch: function _fetch(url, params, options, type) {
1824-
url = encodeURI(url);
18251824
options = options || {};
18261825
options.headers = options.headers || {};
18271826
if (!options.headers['Content-Type']) {
@@ -1850,7 +1849,6 @@ var FetchRequest = exports.FetchRequest = _SuperMap2.default.FetchRequest = {
18501849
},
18511850

18521851
_fetchJsonp: function _fetchJsonp(url, options) {
1853-
url = encodeURI(url);
18541852
options = options || {};
18551853
return (0, _fetchJsonp3.default)(url, { method: 'GET', timeout: options.timeout }).then(function (response) {
18561854
return response;

dist/iclient-classic.min.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/iclient9-leaflet.js

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6123,7 +6123,6 @@ var FetchRequest = exports.FetchRequest = _SuperMap2["default"].FetchRequest = {
61236123
},
61246124

61256125
_fetch: function _fetch(url, params, options, type) {
6126-
url = encodeURI(url);
61276126
options = options || {};
61286127
options.headers = options.headers || {};
61296128
if (!options.headers['Content-Type']) {
@@ -6152,7 +6151,6 @@ var FetchRequest = exports.FetchRequest = _SuperMap2["default"].FetchRequest = {
61526151
},
61536152

61546153
_fetchJsonp: function _fetchJsonp(url, options) {
6155-
url = encodeURI(url);
61566154
options = options || {};
61576155
return (0, _fetchJsonp3["default"])(url, { method: 'GET', timeout: options.timeout }).then(function (response) {
61586156
return response;

dist/iclient9-leaflet.min.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/iclient9-mapboxgl.js

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9777,7 +9777,6 @@ var FetchRequest = exports.FetchRequest = _SuperMap2.default.FetchRequest = {
97779777
},
97789778

97799779
_fetch: function _fetch(url, params, options, type) {
9780-
url = encodeURI(url);
97819780
options = options || {};
97829781
options.headers = options.headers || {};
97839782
if (!options.headers['Content-Type']) {
@@ -9806,7 +9805,6 @@ var FetchRequest = exports.FetchRequest = _SuperMap2.default.FetchRequest = {
98069805
},
98079806

98089807
_fetchJsonp: function _fetchJsonp(url, options) {
9809-
url = encodeURI(url);
98109808
options = options || {};
98119809
return (0, _fetchJsonp3.default)(url, { method: 'GET', timeout: options.timeout }).then(function (response) {
98129810
return response;

dist/iclient9-mapboxgl.min.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/iclient9-openlayers.js

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6359,7 +6359,6 @@ var FetchRequest = exports.FetchRequest = _SuperMap2.default.FetchRequest = {
63596359
},
63606360

63616361
_fetch: function _fetch(url, params, options, type) {
6362-
url = encodeURI(url);
63636362
options = options || {};
63646363
options.headers = options.headers || {};
63656364
if (!options.headers['Content-Type']) {
@@ -6388,7 +6387,6 @@ var FetchRequest = exports.FetchRequest = _SuperMap2.default.FetchRequest = {
63886387
},
63896388

63906389
_fetchJsonp: function _fetchJsonp(url, options) {
6391-
url = encodeURI(url);
63926390
options = options || {};
63936391
return (0, _fetchJsonp3.default)(url, { method: 'GET', timeout: options.timeout }).then(function (response) {
63946392
return response;

dist/iclient9-openlayers.min.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/common/util/FetchRequest.js

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,6 @@ export var FetchRequest = SuperMap.FetchRequest = {
110110
},
111111

112112
_fetch: function (url, params, options, type) {
113-
url = encodeURI(url);
114113
options = options || {};
115114
options.headers = options.headers || {};
116115
if (!options.headers['Content-Type']) {
@@ -139,7 +138,6 @@ export var FetchRequest = SuperMap.FetchRequest = {
139138
},
140139

141140
_fetchJsonp: function (url, options) {
142-
url = encodeURI(url);
143141
options = options || {};
144142
return fetchJsonp(url, {method: 'GET', timeout: options.timeout})
145143
.then(function (response) {

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