Skip to content

Commit c3195e5

Browse files
committed
[bug] 修复demo因为cookie不出图的问题
(reviewed by sym)
1 parent baff69b commit c3195e5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/openlayers/mapping/WebMap.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4375,7 +4375,7 @@ export class WebMap extends Observable {
43754375
* @returns { boolean | undefined } 是否带上cookie
43764376
*/
43774377
isCredentail(url, proxy) {
4378-
if(this.isIportalProxyServiceUrl(url) || (proxy !== false && !CommonUtil.isInTheSameDomain(url))) {
4378+
if(proxy || this.isIportalProxyServiceUrl(url) || CommonUtil.isInTheSameDomain(url)) {
43794379
return true
43804380
}
43814381
return;

0 commit comments

Comments
 (0)