From 1b57d8a5239e32575912012d410e78716738cfd7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?sanguu516=28=EB=B0=95=EC=83=81=ED=98=84=29?= Date: Tue, 26 Sep 2023 10:45:03 +0900 Subject: [PATCH] =?UTF-8?q?=ED=95=84=EB=93=9C=EB=AA=85=20=EC=88=98?= =?UTF-8?q?=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/laanc/LaancStep1.js | 36 ++++++++++++++++++++++++----------- 1 file changed, 25 insertions(+), 11 deletions(-) diff --git a/src/views/laanc/LaancStep1.js b/src/views/laanc/LaancStep1.js index a6da3549..f604af21 100644 --- a/src/views/laanc/LaancStep1.js +++ b/src/views/laanc/LaancStep1.js @@ -68,10 +68,7 @@ export default function LaancStep1({ console.log(areaCoordList, '저장상태'); }, [areaCoordList]); - const handlerLaanc = () => { - history.replace('/control'); - }; - + console.log('>', data); return ( <> @@ -315,11 +312,21 @@ export default function LaancStep1({ { + const { name, value } = e.target; + handleChange({ + type: 'area', + name, + value + }); + }} placeholder='직접입력 선택 후 활성화' - disabled + disabled={ + data.areaList[0].fltMethod === '직접입력' ? false : true + } /> @@ -333,7 +340,13 @@ export default function LaancStep1({ - + - - + + @@ -410,7 +423,8 @@ export default function LaancStep1({
-