Skip to content

Commit e84d343

Browse files
[fix]??语法
1 parent 1b7979d commit e84d343

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/openlayers/mapping/ImageSuperMapRest.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -232,7 +232,7 @@ export class ImageSuperMapRest extends ImageSource {
232232
const loadCallback = decode;
233233
return (extent, resolution, pixelRatio) => {
234234
const image = new Image();
235-
image.crossOrigin = crossOrigin ?? null;
235+
image.crossOrigin = crossOrigin;
236236
return loadCallback(image, src).then((image) => ({ image, extent, pixelRatio }));
237237
};
238238
}

0 commit comments

Comments
 (0)