From d68f9b0aa164cbf9569db327ad07c314cc39cb76 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=EB=B0=95=EC=83=81=ED=98=84?= Date: Tue, 12 Dec 2023 10:38:40 +0900 Subject: [PATCH] =?UTF-8?q?qr=20=EB=94=94=EC=9E=90=EC=9D=B8=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/components/laanc/LaancQr.js | 39 +++++++++++-------------- src/components/laanc/step/LaancStep1.js | 2 +- 2 files changed, 18 insertions(+), 23 deletions(-) diff --git a/src/components/laanc/LaancQr.js b/src/components/laanc/LaancQr.js index f8db826..0dcd431 100644 --- a/src/components/laanc/LaancQr.js +++ b/src/components/laanc/LaancQr.js @@ -64,10 +64,11 @@ export default function LaancQr({ isPopUp, setIsPopUp, data, handlerStep }) { desc: <>인증 시간이 만료되었습니다. }); setIsPopUp(false); - } else if (type === 'user') { - // setIsPolling(true); - startPolling(); } + // else if (type === 'user') { + // // setIsPolling(true); + // startPolling(); + // } }; // axios 호출 에러 처리 로직 @@ -81,15 +82,15 @@ export default function LaancQr({ isPopUp, setIsPopUp, data, handlerStep }) { }; // 사용자 확인 버튼 헨들러 - const handleUserEvent = debounce(async event => { - stopPolling(); - try { - const res = await axios.get(`api/bas/laanc/ts/qr/${data.confirmKey}`); - handleResponse(res, 'user'); - } catch (error) { - handleError(error); - } - }, 3000); + // const handleUserEvent = debounce(async event => { + // stopPolling(); + // try { + // const res = await axios.get(`api/bas/laanc/ts/qr/${data.confirmKey}`); + // handleResponse(res, 'user'); + // } catch (error) { + // handleError(error); + // } + // }, 3000); return ( <> @@ -105,21 +106,15 @@ export default function LaancQr({ isPopUp, setIsPopUp, data, handlerStep }) { style={{ display: 'flex', justifyContent: 'center', - height: '18vw' + height: '12vw' }} > QR Code - +

+ QR코드 스캔 후 드론자격증명 앱을통해 유효성 검사 진행 부탁드립니다.{' '} +

diff --git a/src/components/laanc/step/LaancStep1.js b/src/components/laanc/step/LaancStep1.js index a600128..2448b72 100644 --- a/src/components/laanc/step/LaancStep1.js +++ b/src/components/laanc/step/LaancStep1.js @@ -1339,7 +1339,7 @@ export default function LaancStep1({ isOpen={isPopUp} toggle={() => setIsPopUp(!isPopUp)} className='modal-dialog-centered modal-lg notam-modal' - style={{ height: '25vh', width: '25vw' }} + style={{ height: '16vh', width: '16vw' }} >