|
@@ -336,7 +336,7 @@ export default {
|
|
this.ctx_front.strokeStyle = this.defaultColor;
|
|
this.ctx_front.strokeStyle = this.defaultColor;
|
|
let img = new Image();
|
|
let img = new Image();
|
|
img.src = this.baseMap;
|
|
img.src = this.baseMap;
|
|
- img.crossOrigin = "";
|
|
|
|
|
|
+ img.crossOrigin = "anonymous";
|
|
let _this = this;
|
|
let _this = this;
|
|
img.onload = function () {
|
|
img.onload = function () {
|
|
let width = parseInt(this.width);
|
|
let width = parseInt(this.width);
|