Skip to content

Commit 02639ff

Browse files
committed
【fix】jsdoc
1 parent a0fb76b commit 02639ff

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/openlayers/core/Util.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -455,8 +455,8 @@ export class Util {
455455
* @function ol.supermap.Util.setMask
456456
* @description 为图层设置掩膜。
457457
* @version 10.1.0
458-
* @param {ol/layer/Layer | Array.<ol/layer/Layer} layers 图层
459-
* @param {ol/geom/Geometry | ol/feature} polygon 掩膜矢量要素,支持面类型的要素。
458+
* @param {ol/layer/Layer|Array.<ol/layer/Layer>} layers 图层
459+
* @param {ol/geom/Geometry|ol/feature} polygon 掩膜矢量要素,支持面类型的要素。
460460
*/
461461
static setMask(layers, polygon) {
462462
if (!polygon) {
@@ -504,7 +504,7 @@ export class Util {
504504
* @function ol.supermap.Util.setMask
505505
* @description 取消图层掩膜。
506506
* @version 10.1.0
507-
* @param {ol/layer/Layer | Array.<ol/layer/Layer} layers 图层
507+
* @param {ol/layer/Layer|Array.<ol/layer/Layer>} layers 图层
508508
*/
509509
static unsetMask(layers) {
510510
const todoLayers = Array.isArray(layers) ? layers : [layers];

0 commit comments

Comments
 (0)