From 2b962e7f7f5986898cb5ce973ab9572e8972659d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=EA=B0=95=EC=84=9D=20=EC=B5=9C?= Date: Mon, 4 Mar 2024 15:21:40 +0900 Subject: [PATCH] =?UTF-8?q?=EB=B9=84=EB=A1=9C=EA=B7=B8=EC=9D=B8=EC=8B=9C?= =?UTF-8?q?=20=ED=8C=8C=EC=9D=BC=20=EB=8B=A4=EC=9A=B4=EB=A1=9C=EB=93=9C=20?= =?UTF-8?q?=EC=98=A4=EB=A5=98=20=EC=88=98=EC=A0=95.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- egovframe-template-simple-react-contribution/src/utils/file.jsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/egovframe-template-simple-react-contribution/src/utils/file.jsx b/egovframe-template-simple-react-contribution/src/utils/file.jsx index 413494c..678ff4b 100644 --- a/egovframe-template-simple-react-contribution/src/utils/file.jsx +++ b/egovframe-template-simple-react-contribution/src/utils/file.jsx @@ -7,5 +7,5 @@ export function download(fileSeq){ } export function standardCode(fileSeq){ const sessionUser = parseJwt(getLocalItem('accessToken')); - window.open(encodeURI(SERVER_URL+'/file/standardCode-download?userId='+sessionUser.id+'&fileSeq='+fileSeq)); + window.open(encodeURI(SERVER_URL+'/file/standardCode-download?userId='+sessionUser?.id+'&fileSeq='+fileSeq)); }