Skip to content

Commit fb83243

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

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
@@ -4301,7 +4301,7 @@ export class WebMap extends Observable {
43014301
* @returns { boolean | undefined } 是否带上cookie
43024302
*/
43034303
isCredentail(url, proxy) {
4304-
if(this.isIportalProxyServiceUrl(url) || (proxy !== false && !CommonUtil.isInTheSameDomain(url))) {
4304+
if(proxy || this.isIportalProxyServiceUrl(url) || CommonUtil.isInTheSameDomain(url)) {
43054305
return true
43064306
}
43074307
return;

0 commit comments

Comments
 (0)