From 7ec239eed56532cca4559c8da3508e82540bae84 Mon Sep 17 00:00:00 2001 From: YuzeTT Date: Thu, 16 Nov 2023 14:40:52 +0800 Subject: [PATCH] chore: add small mode --- src/pages/tools/rseg.tsx | 31 +++++++++++++++++++++++++++---- 1 file changed, 27 insertions(+), 4 deletions(-) diff --git a/src/pages/tools/rseg.tsx b/src/pages/tools/rseg.tsx index 4f7c972..82c2f35 100644 --- a/src/pages/tools/rseg.tsx +++ b/src/pages/tools/rseg.tsx @@ -33,6 +33,7 @@ export default function Rseg() { const [image1Crop, setImage1Crop] = useState(''); const [image2Crop, setImage2Crop] = useState(''); const [bleedingLine, setBleedingLine] = useState(false); + const [isSmall, setIsSmall] = useState(false); const handleImage1Change = (e: ChangeEvent) => { const file = e.target.files && e.target.files[0]; @@ -177,14 +178,36 @@ export default function Rseg() {
- + + + + + + + + + + + +
3mm 出血线(印刷需打开) + {setBleedingLine(v.target.checked)}} /> +
修复模式(图像缺失需打开) + {setIsSmall(v.target.checked)}} /> +
+ {/* - 3mm 出血线(印刷需打开) + - {setBleedingLine(v.target.checked)}} /> + + + + + + + */}
- +