From 71fca79d3a8764c078bf0be1b22e5ae3869c5d08 Mon Sep 17 00:00:00 2001 From: YuzeTT Date: Thu, 16 Nov 2023 15:35:31 +0800 Subject: [PATCH] chore: add tw size --- src/pages/tools/rseg.tsx | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/src/pages/tools/rseg.tsx b/src/pages/tools/rseg.tsx index 95d198b..0d0bb60 100644 --- a/src/pages/tools/rseg.tsx +++ b/src/pages/tools/rseg.tsx @@ -32,6 +32,7 @@ export default function Rseg() { const [image2Crop, setImage2Crop] = useState(''); const [bleedingLine, setBleedingLine] = useState(false); const [isSmall, setIsSmall] = useState(false); + const [tw, setTw] = useState(false); const handleImage1Change = (e: ChangeEvent) => { const file = e.target.files && e.target.files[0]; @@ -192,9 +193,15 @@ export default function Rseg() { + +
+
85*54mm(大陆)
+ {setTw(v.target.checked)}} /> +
90*54mm(中国台湾)
+
- -
+ +