|
@@ -509,7 +509,7 @@ let cropperOption = ref({
|
|
|
infoTrue: true,
|
|
|
fixed: true,
|
|
|
fixedNumber: [16, 8.396],
|
|
|
- outputType: 'jpeg',
|
|
|
+ outputType: 'png',
|
|
|
autoCrop: true,
|
|
|
autoCropWidth: 99999,
|
|
|
autoCropHeight: 99999,
|
|
@@ -1745,7 +1745,7 @@ const selectImage = (option) => {
|
|
|
})
|
|
|
}
|
|
|
const confirmImage = () => {
|
|
|
- let contentType = 'image/jpeg';
|
|
|
+ let contentType = 'image/png';
|
|
|
cropperLoading.value = true;
|
|
|
currentInstance.ctx.$refs.refCropper.getCropBlob(imgData => {
|
|
|
uploadSignature({
|
|
@@ -1753,7 +1753,7 @@ const confirmImage = () => {
|
|
|
bizType: 1,
|
|
|
fileType: 1,
|
|
|
contentType: contentType,
|
|
|
- fileSuffix: 'jpg',
|
|
|
+ fileSuffix: 'png',
|
|
|
}
|
|
|
}).then(res => {
|
|
|
let { code, data } = res;
|