|
|
@@ -165,15 +165,12 @@ export default {
|
|
|
scale: 3
|
|
|
}).then(canvas => {
|
|
|
this.$toast.clear();
|
|
|
- console.log(canvas);
|
|
|
- // this.$refs.wrap.appendChild(canvas);
|
|
|
this.img = canvas.toDataURL('image/png');
|
|
|
});
|
|
|
},
|
|
|
getImgBase64(img2, key) {
|
|
|
let img = new Image();
|
|
|
img.crossOrigin = 'anonymous';
|
|
|
- console.log(img);
|
|
|
let _this = this;
|
|
|
img.onload = function () {
|
|
|
let src = _this.image2Base64(img);
|