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)
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