We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2300f66 commit 1d55897Copy full SHA for 1d55897
1 file changed
src/openlayers/mapping/WebMap.js
@@ -4298,7 +4298,7 @@ export class WebMap extends Observable {
4298
* 请求是否带上cookie
4299
* @param {string} url 请求地址,必选参数。
4300
* @param {boolean} proxy 是否需要加上代理,可选参数。
4301
- * @returns
+ * @returns { boolean | undefined } 是否带上cookie
4302
*/
4303
isCredentail(url, proxy) {
4304
if(this.isIportalProxyServiceUrl(url) || (proxy !== false && !CommonUtil.isInTheSameDomain(url))) {
@@ -4310,7 +4310,7 @@ export class WebMap extends Observable {
4310
* url是否要带上代理
4311
* @param {*} url 请求地址,必选参数。
4312
* @param {*} proxy 是否需要加上代理,可选参数。
4313
+ * @returns { boolean } 是否带上代理
4314
4315
isAddProxy(url, proxy) {
4316
return !CommonUtil.isInTheSameDomain(url) && !this.isIportalProxyServiceUrl(url) && proxy !== false;
0 commit comments