Skip to content

Commit 1705718

Browse files
committed
fix UT
1 parent b64172c commit 1705718

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

59 files changed

+582
-24
lines changed

dist/iclient-classic.js

Lines changed: 31 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2604,7 +2604,7 @@ function _classCallCheck(instance, Constructor) { if (!(instance instanceof Cons
26042604
* eventListeners - {Object} 事件监听器对象。有processCompleted属性可传入处理完成后的回调函数。processFailed属性传入处理失败后的回调函数。<br>
26052605
* proxy - {string} 服务代理地址<br>
26062606
* serverType - {SuperMap.ServerType} 服务器类型,iServer|iPortal|Online。<br>
2607-
* withCredentials - {boolean} 请求是否携带cookie,默认为true。<br>
2607+
* withCredentials - {boolean} 请求是否携带cookie,默认为false。<br>
26082608
* format -{SuperMap.DataFormat} 查询结果返回格式,目前支持iServerJSON 和GeoJSON两种格式。参数格式为"ISERVER","GEOJSON"。
26092609
*/
26102610
var CommonServiceBase = exports.CommonServiceBase = function () {
@@ -2643,7 +2643,7 @@ var CommonServiceBase = exports.CommonServiceBase = function () {
26432643

26442644
this.isInTheSameDomain = null;
26452645

2646-
this.withCredentials = true;
2646+
this.withCredentials = false;
26472647

26482648
if (_Util.Util.isArray(url)) {
26492649
me.urls = url;
@@ -7668,6 +7668,7 @@ var ProcessingService = exports.ProcessingService = function (_CommonServiceBase
76687668
format = me._processFormat(resultFormat);
76697669
var kernelDensityJobsService = new _KernelDensityJobsService.KernelDensityJobsService(me.url, {
76707670
proxy: me.proxy,
7671+
withCredentials: me.withCredentials,
76717672
serverType: me.serverType,
76727673
eventListeners: {
76737674
scope: me,
@@ -7694,6 +7695,7 @@ var ProcessingService = exports.ProcessingService = function (_CommonServiceBase
76947695
format = me._processFormat(resultFormat);
76957696
var kernelDensityJobsService = new _KernelDensityJobsService.KernelDensityJobsService(me.url, {
76967697
proxy: me.proxy,
7698+
withCredentials: me.withCredentials,
76977699
serverType: me.serverType,
76987700
eventListeners: {
76997701
scope: me,
@@ -7721,6 +7723,7 @@ var ProcessingService = exports.ProcessingService = function (_CommonServiceBase
77217723
format = me._processFormat(resultFormat);
77227724
var kernelDensityJobsService = new _KernelDensityJobsService.KernelDensityJobsService(me.url, {
77237725
proxy: me.proxy,
7726+
withCredentials: me.withCredentials,
77247727
eventListeners: {
77257728
scope: me,
77267729
processCompleted: callback,
@@ -7761,6 +7764,7 @@ var ProcessingService = exports.ProcessingService = function (_CommonServiceBase
77617764
format = me._processFormat(resultFormat);
77627765
var summaryMeshJobsService = new _SummaryMeshJobsService.SummaryMeshJobsService(me.url, {
77637766
proxy: me.proxy,
7767+
withCredentials: me.withCredentials,
77647768
serverType: me.serverType,
77657769
eventListeners: {
77667770
scope: me,
@@ -7787,6 +7791,7 @@ var ProcessingService = exports.ProcessingService = function (_CommonServiceBase
77877791
format = me._processFormat(resultFormat);
77887792
var summaryMeshJobsService = new _SummaryMeshJobsService.SummaryMeshJobsService(me.url, {
77897793
proxy: me.proxy,
7794+
withCredentials: me.withCredentials,
77907795
serverType: me.serverType,
77917796
eventListeners: {
77927797
scope: me,
@@ -7814,6 +7819,7 @@ var ProcessingService = exports.ProcessingService = function (_CommonServiceBase
78147819
format = me._processFormat(resultFormat);
78157820
var summaryMeshJobsService = new _SummaryMeshJobsService.SummaryMeshJobsService(me.url, {
78167821
proxy: me.proxy,
7822+
withCredentials: me.withCredentials,
78177823
eventListeners: {
78187824
scope: me,
78197825
processCompleted: callback,
@@ -7854,6 +7860,7 @@ var ProcessingService = exports.ProcessingService = function (_CommonServiceBase
78547860
format = me._processFormat(resultFormat);
78557861
var singleObjectQueryJobsService = new _SingleObjectQueryJobsService.SingleObjectQueryJobsService(me.url, {
78567862
proxy: me.proxy,
7863+
withCredentials: me.withCredentials,
78577864
serverType: me.serverType,
78587865
eventListeners: {
78597866
scope: me,
@@ -7880,6 +7887,7 @@ var ProcessingService = exports.ProcessingService = function (_CommonServiceBase
78807887
format = me._processFormat(resultFormat);
78817888
var singleObjectQueryJobsService = new _SingleObjectQueryJobsService.SingleObjectQueryJobsService(me.url, {
78827889
proxy: me.proxy,
7890+
withCredentials: me.withCredentials,
78837891
serverType: me.serverType,
78847892
eventListeners: {
78857893
scope: me,
@@ -7908,6 +7916,7 @@ var ProcessingService = exports.ProcessingService = function (_CommonServiceBase
79087916
format = me._processFormat(resultFormat);
79097917
var singleObjectQueryJobsService = new _SingleObjectQueryJobsService.SingleObjectQueryJobsService(me.url, {
79107918
proxy: me.proxy,
7919+
withCredentials: me.withCredentials,
79117920
eventListeners: {
79127921
scope: me,
79137922
processCompleted: callback,
@@ -7948,6 +7957,7 @@ var ProcessingService = exports.ProcessingService = function (_CommonServiceBase
79487957
format = me._processFormat(resultFormat);
79497958
var summaryRegionJobsService = new _SummaryRegionJobsService.SummaryRegionJobsService(me.url, {
79507959
proxy: me.proxy,
7960+
withCredentials: me.withCredentials,
79517961
serverType: me.serverType,
79527962
eventListeners: {
79537963
scope: me,
@@ -7974,6 +7984,7 @@ var ProcessingService = exports.ProcessingService = function (_CommonServiceBase
79747984
format = me._processFormat(resultFormat);
79757985
var summaryRegionJobsService = new _SummaryRegionJobsService.SummaryRegionJobsService(me.url, {
79767986
proxy: me.proxy,
7987+
withCredentials: me.withCredentials,
79777988
serverType: me.serverType,
79787989
eventListeners: {
79797990
scope: me,
@@ -8001,6 +8012,7 @@ var ProcessingService = exports.ProcessingService = function (_CommonServiceBase
80018012
format = me._processFormat(resultFormat);
80028013
var summaryRegionJobsService = new _SummaryRegionJobsService.SummaryRegionJobsService(me.url, {
80038014
proxy: me.proxy,
8015+
withCredentials: me.withCredentials,
80048016
eventListeners: {
80058017
scope: me,
80068018
processCompleted: callback,
@@ -8041,6 +8053,7 @@ var ProcessingService = exports.ProcessingService = function (_CommonServiceBase
80418053
format = me._processFormat(resultFormat);
80428054
var vectorClipJobsService = new _VectorClipJobsService.VectorClipJobsService(me.url, {
80438055
proxy: me.proxy,
8056+
withCredentials: me.withCredentials,
80448057
serverType: me.serverType,
80458058
eventListeners: {
80468059
scope: me,
@@ -8067,6 +8080,7 @@ var ProcessingService = exports.ProcessingService = function (_CommonServiceBase
80678080
format = me._processFormat(resultFormat);
80688081
var vectorClipJobsService = new _VectorClipJobsService.VectorClipJobsService(me.url, {
80698082
proxy: me.proxy,
8083+
withCredentials: me.withCredentials,
80708084
serverType: me.serverType,
80718085
eventListeners: {
80728086
scope: me,
@@ -8095,6 +8109,7 @@ var ProcessingService = exports.ProcessingService = function (_CommonServiceBase
80958109
format = me._processFormat(resultFormat);
80968110
var vectorClipJobsService = new _VectorClipJobsService.VectorClipJobsService(me.url, {
80978111
proxy: me.proxy,
8112+
withCredentials: me.withCredentials,
80988113
serverType: me.serverType,
80998114
eventListeners: {
81008115
scope: me,
@@ -8136,6 +8151,7 @@ var ProcessingService = exports.ProcessingService = function (_CommonServiceBase
81368151
format = me._processFormat(resultFormat);
81378152
var overlayGeoJobsService = new _OverlayGeoJobsService.OverlayGeoJobsService(me.url, {
81388153
proxy: me.proxy,
8154+
withCredentials: me.withCredentials,
81398155
serverType: me.serverType,
81408156
eventListeners: {
81418157
scope: me,
@@ -8162,6 +8178,7 @@ var ProcessingService = exports.ProcessingService = function (_CommonServiceBase
81628178
format = me._processFormat(resultFormat);
81638179
var overlayGeoJobsService = new _OverlayGeoJobsService.OverlayGeoJobsService(me.url, {
81648180
proxy: me.proxy,
8181+
withCredentials: me.withCredentials,
81658182
serverType: me.serverType,
81668183
eventListeners: {
81678184
scope: me,
@@ -8189,6 +8206,7 @@ var ProcessingService = exports.ProcessingService = function (_CommonServiceBase
81898206
format = me._processFormat(resultFormat);
81908207
var overlayGeoJobsService = new _OverlayGeoJobsService.OverlayGeoJobsService(me.url, {
81918208
proxy: me.proxy,
8209+
withCredentials: me.withCredentials,
81928210
serverType: me.serverType,
81938211
eventListeners: {
81948212
scope: me,
@@ -8230,6 +8248,7 @@ var ProcessingService = exports.ProcessingService = function (_CommonServiceBase
82308248
format = me._processFormat(resultFormat);
82318249
var buffersAnalystJobsService = new _BuffersAnalystJobsService.BuffersAnalystJobsService(me.url, {
82328250
proxy: me.proxy,
8251+
withCredentials: me.withCredentials,
82338252
serverType: me.serverType,
82348253
eventListeners: {
82358254
scope: me,
@@ -8256,6 +8275,7 @@ var ProcessingService = exports.ProcessingService = function (_CommonServiceBase
82568275
format = me._processFormat(resultFormat);
82578276
var buffersAnalystJobsService = new _BuffersAnalystJobsService.BuffersAnalystJobsService(me.url, {
82588277
proxy: me.proxy,
8278+
withCredentials: me.withCredentials,
82598279
serverType: me.serverType,
82608280
eventListeners: {
82618281
scope: me,
@@ -8283,6 +8303,7 @@ var ProcessingService = exports.ProcessingService = function (_CommonServiceBase
82838303
format = me._processFormat(resultFormat);
82848304
var buffersAnalystJobsService = new _BuffersAnalystJobsService.BuffersAnalystJobsService(me.url, {
82858305
proxy: me.proxy,
8306+
withCredentials: me.withCredentials,
82868307
serverType: me.serverType,
82878308
eventListeners: {
82888309
scope: me,
@@ -8324,6 +8345,7 @@ var ProcessingService = exports.ProcessingService = function (_CommonServiceBase
83248345
format = me._processFormat(resultFormat);
83258346
var topologyValidatorJobsService = new _TopologyValidatorJobsService.TopologyValidatorJobsService(me.url, {
83268347
proxy: me.proxy,
8348+
withCredentials: me.withCredentials,
83278349
serverType: me.serverType,
83288350
eventListeners: {
83298351
scope: me,
@@ -8350,6 +8372,7 @@ var ProcessingService = exports.ProcessingService = function (_CommonServiceBase
83508372
format = me._processFormat(resultFormat);
83518373
var topologyValidatorJobsService = new _TopologyValidatorJobsService.TopologyValidatorJobsService(me.url, {
83528374
proxy: me.proxy,
8375+
withCredentials: me.withCredentials,
83538376
serverType: me.serverType,
83548377
eventListeners: {
83558378
scope: me,
@@ -8377,6 +8400,7 @@ var ProcessingService = exports.ProcessingService = function (_CommonServiceBase
83778400
format = me._processFormat(resultFormat);
83788401
var topologyValidatorJobsService = new _TopologyValidatorJobsService.TopologyValidatorJobsService(me.url, {
83798402
proxy: me.proxy,
8403+
withCredentials: me.withCredentials,
83808404
serverType: me.serverType,
83818405
eventListeners: {
83828406
scope: me,
@@ -8418,6 +8442,7 @@ var ProcessingService = exports.ProcessingService = function (_CommonServiceBase
84188442
format = me._processFormat(resultFormat);
84198443
var summaryAttributesJobsService = new _SummaryAttributesJobsService.SummaryAttributesJobsService(me.url, {
84208444
proxy: me.proxy,
8445+
withCredentials: me.withCredentials,
84218446
serverType: me.serverType,
84228447
eventListeners: {
84238448
scope: me,
@@ -8444,6 +8469,7 @@ var ProcessingService = exports.ProcessingService = function (_CommonServiceBase
84448469
format = me._processFormat(resultFormat);
84458470
var summaryAttributesJobsService = new _SummaryAttributesJobsService.SummaryAttributesJobsService(me.url, {
84468471
proxy: me.proxy,
8472+
withCredentials: me.withCredentials,
84478473
serverType: me.serverType,
84488474
eventListeners: {
84498475
scope: me,
@@ -8471,6 +8497,7 @@ var ProcessingService = exports.ProcessingService = function (_CommonServiceBase
84718497
format = me._processFormat(resultFormat);
84728498
var summaryAttributesJobsService = new _SummaryAttributesJobsService.SummaryAttributesJobsService(me.url, {
84738499
proxy: me.proxy,
8500+
withCredentials: me.withCredentials,
84748501
serverType: me.serverType,
84758502
eventListeners: {
84768503
scope: me,
@@ -9290,6 +9317,7 @@ var AddressMatchService = exports.AddressMatchService = function (_CommonService
92909317
var me = this;
92919318
var addressMatchService = new _AddressMatchService.AddressMatchService(me.url, {
92929319
proxy: me.proxy,
9320+
withCredentials: me.withCredentials,
92939321
serverType: me.serverType,
92949322
eventListeners: {
92959323
scope: me,
@@ -9313,6 +9341,7 @@ var AddressMatchService = exports.AddressMatchService = function (_CommonService
93139341
var me = this;
93149342
var addressMatchService = new _AddressMatchService.AddressMatchService(me.url, {
93159343
proxy: me.proxy,
9344+
withCredentials: me.withCredentials,
93169345
serverType: me.serverType,
93179346
eventListeners: {
93189347
scope: me,

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.

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