祖安之光
10 天以前 1b7d920815f9dd79338996c4c9df0cdc2e797bc1
src/views/build/conpanyFunctionConsult/digitalFileDep/manageType/qualityManual/components/exportDoc.js
@@ -364,10 +364,10 @@
        const dimensions = getDimensionsFromBase64Sync(tagValue);
        const { width, height } = dimensions;
        if(tagName == 'sign1' || tagName == 'sign2' || tagName == 'sign3' || tagName == 'sign4'){
            const targetWidth = 160;
            const targetWidth = 120;
            const scale = targetWidth / width;
            let targetHeight = height * scale;
            targetHeight = Math.max(100, Math.min(400, targetHeight));
            targetHeight = Math.max(80, Math.min(400, targetHeight));
            return [targetWidth, Math.round(targetHeight)];
        }else{
            const targetWidth = 550;
@@ -376,7 +376,7 @@
            targetHeight = Math.max(100, Math.min(800, targetHeight));
            return [targetWidth, Math.round(targetHeight)];
        }
    },
    }
};
const base64DataURLToArrayBuffer = (dataURL) => {