From f33a9781795723cf972c6539eda9cb0b2d311111 Mon Sep 17 00:00:00 2001 From: moonrailgun Date: Wed, 15 Feb 2023 16:13:41 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E4=BF=AE=E5=A4=8D=E6=94=BE=E5=A4=A7?= =?UTF-8?q?=E5=AD=97=E4=BD=93=E6=8F=92=E4=BB=B6=E9=BB=98=E8=AE=A4=E7=8A=B6?= =?UTF-8?q?=E6=80=81=E4=B8=8D=E7=94=9F=E6=95=88=E7=9A=84bug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- client/web/plugins/com.msgbyte.biggerfont/src/index.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/client/web/plugins/com.msgbyte.biggerfont/src/index.tsx b/client/web/plugins/com.msgbyte.biggerfont/src/index.tsx index 5000e37a..7e44be04 100644 --- a/client/web/plugins/com.msgbyte.biggerfont/src/index.tsx +++ b/client/web/plugins/com.msgbyte.biggerfont/src/index.tsx @@ -37,7 +37,7 @@ function updateFontsize(settings: any) { if (typeof settings === 'object' && typeof fontSize === 'string') { if (fontSize === '') { // 清除字号设置 - document.documentElement.style.fontSize = undefined; + document.documentElement.style.fontSize = ''; } else if (fontSize === 'md') { document.documentElement.style.fontSize = '18px'; } else if (fontSize === 'lg') {