Skip to content

Commit b8aaa17

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

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
@@ -3992,7 +3992,7 @@ export class WebMap extends Observable {
39923992
* @returns
39933993
*/
39943994
isCredentail(url, proxy) {
3995-
if(this.isIportalProxyServiceUrl(url) || (proxy !== false && !CommonUtil.isInTheSameDomain(url))) {
3995+
if(proxy || this.isIportalProxyServiceUrl(url) || CommonUtil.isInTheSameDomain(url)) {
39963996
return true
39973997
}
39983998
return;

0 commit comments

Comments
 (0)