@cmstops/pro-compo 0.3.92 → 0.3.93
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -186,7 +186,9 @@ const _sfc_main = defineComponent({
|
|
|
186
186
|
handleUploadCropData(blob, "gif");
|
|
187
187
|
});
|
|
188
188
|
} else {
|
|
189
|
-
const CroppedCanvas = mosaicObj.value.getCroppedCanvas({
|
|
189
|
+
const CroppedCanvas = mosaicObj.value.getCroppedCanvas({
|
|
190
|
+
fillColor: "#fff"
|
|
191
|
+
});
|
|
190
192
|
CroppedCanvas.toBlob(
|
|
191
193
|
async (blob) => {
|
|
192
194
|
handleUploadCropData(blob, "png");
|
|
@@ -193,7 +193,9 @@ const _sfc_main = vue.defineComponent({
|
|
|
193
193
|
handleUploadCropData(blob, "gif");
|
|
194
194
|
});
|
|
195
195
|
} else {
|
|
196
|
-
const CroppedCanvas = mosaicObj.value.getCroppedCanvas({
|
|
196
|
+
const CroppedCanvas = mosaicObj.value.getCroppedCanvas({
|
|
197
|
+
fillColor: "#fff"
|
|
198
|
+
});
|
|
197
199
|
CroppedCanvas.toBlob(
|
|
198
200
|
async (blob) => {
|
|
199
201
|
handleUploadCropData(blob, "png");
|