We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c834cbf commit 30ae47fCopy full SHA for 30ae47f
src/openlayers/mapping/WebMap.js
@@ -4372,7 +4372,7 @@ export class WebMap extends Observable {
4372
* 请求是否带上cookie
4373
* @param {string} url 请求地址,必选参数。
4374
* @param {boolean} proxy 是否需要加上代理,可选参数。
4375
- * @returns
+ * @returns { boolean | undefined } 是否带上cookie
4376
*/
4377
isCredentail(url, proxy) {
4378
if(this.isIportalProxyServiceUrl(url) || (proxy !== false && !CommonUtil.isInTheSameDomain(url))) {
@@ -4384,7 +4384,7 @@ export class WebMap extends Observable {
4384
* url是否要带上代理
4385
* @param {*} url 请求地址,必选参数。
4386
* @param {*} proxy 是否需要加上代理,可选参数。
4387
+ * @returns { boolean } 是否带上代理
4388
4389
isAddProxy(url, proxy) {
4390
return !CommonUtil.isInTheSameDomain(url) && !this.isIportalProxyServiceUrl(url) && proxy !== false;
0 commit comments