We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1d55897 commit fb83243Copy full SHA for fb83243
src/openlayers/mapping/WebMap.js
@@ -4301,7 +4301,7 @@ export class WebMap extends Observable {
4301
* @returns { boolean | undefined } 是否带上cookie
4302
*/
4303
isCredentail(url, proxy) {
4304
- if(this.isIportalProxyServiceUrl(url) || (proxy !== false && !CommonUtil.isInTheSameDomain(url))) {
+ if(proxy || this.isIportalProxyServiceUrl(url) || CommonUtil.isInTheSameDomain(url)) {
4305
return true
4306
}
4307
return;
0 commit comments