|
@@ -150,7 +150,7 @@ export default class HcPdfSign {
|
|
|
static async signImage(url) {
|
|
|
const res = await this.getImageSize(url)
|
|
|
if (res.width === res.height) {
|
|
|
- this.signImgCss = { url: url, width: 100, height: 100 }
|
|
|
+ this.signImgCss = { url: url, width: 140, height: 140 }
|
|
|
} else if (res.width > res.height) {
|
|
|
const scaleFactor = 30 / res.height
|
|
|
const newWidth = res.width * scaleFactor
|