From 5f4d561cf0f81ba46f4a41246028e7b74c8a5e86 Mon Sep 17 00:00:00 2001 From: dataeaseShu Date: Thu, 17 Apr 2025 16:53:11 +0800 Subject: [PATCH] =?UTF-8?q?fix(=E7=A7=BB=E5=8A=A8=E7=AB=AF):=20=E6=B0=B4?= =?UTF-8?q?=E5=8D=B0=E8=AE=BE=E7=BD=AE=E4=B8=BA15px=EF=BC=8C=E5=AE=89?= =?UTF-8?q?=E5=8D=93=E8=AE=BE=E5=A4=87=E6=B0=B4=E5=8D=B0=E6=98=BE=E7=A4=BA?= =?UTF-8?q?=E6=AD=A3=E5=B8=B8=EF=BC=8Cios=20=E8=AE=BE=E5=A4=87=E7=9A=84?= =?UTF-8?q?=E6=B0=B4=E5=8D=B0=E6=98=BE=E7=A4=BA=E8=BF=87=E5=B0=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- core/core-frontend/src/components/watermark/watermark.ts | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/core/core-frontend/src/components/watermark/watermark.ts b/core/core-frontend/src/components/watermark/watermark.ts index 384145eeea..ee8deaba69 100644 --- a/core/core-frontend/src/components/watermark/watermark.ts +++ b/core/core-frontend/src/components/watermark/watermark.ts @@ -3,6 +3,8 @@ import { storeToRefs } from 'pinia' import { dvMainStoreWithOut } from '@/store/modules/data-visualization/dvMain' import { ref } from 'vue' import { ipInfoApi } from '@/api/user' +import { isISOMobile } from '@/utils/utils' + const dvMainStore = dvMainStoreWithOut() const { dvInfo } = storeToRefs(dvMainStore) @@ -233,7 +235,7 @@ export function activeWatermark( watermark_color: watermarkForm.watermark_color, watermark_x_space: watermarkForm.watermark_x_space * scale, watermark_y_space: watermarkForm.watermark_y_space * scale, - watermark_fontsize: watermarkForm.watermark_fontsize * scale + 'px' + watermark_fontsize: watermarkForm.watermark_fontsize * scale * (isISOMobile() ? 2.5 : 1) + 'px' } watermark(settings, domId) }