diff --git a/frontend/src/modules/homeMgt/components/NoticeUpdatePop.vue b/frontend/src/modules/homeMgt/components/NoticeUpdatePop.vue index 9053077..9747734 100644 --- a/frontend/src/modules/homeMgt/components/NoticeUpdatePop.vue +++ b/frontend/src/modules/homeMgt/components/NoticeUpdatePop.vue @@ -210,10 +210,10 @@ export default { this.emgYn = props.emgYn; this.useYn = props.useYn; this.ctgCd = props.ctgCd; - this.fileNm = props.fileNm.split(','); - this.filePath = props.filePath.split(','); - this.fileTitle = props.fileTitle.split(','); - this.fileNo = props.fileNo.split(','); + this.fileNm = props.fileNm && props.fileNm.split(','); + this.filePath = props.filePath && props.filePath.split(','); + this.fileTitle = props.fileTitle && props.fileTitle.split(','); + this.fileNo = props.fileNo && props.fileNo.split(','); this.fileCount = props.fileCount; } diff --git a/src/main/resources/mapper/mysql/homeMgt/homeMgt-mapper.xml b/src/main/resources/mapper/mysql/homeMgt/homeMgt-mapper.xml index 1f37d0a..1e9f4e0 100644 --- a/src/main/resources/mapper/mysql/homeMgt/homeMgt-mapper.xml +++ b/src/main/resources/mapper/mysql/homeMgt/homeMgt-mapper.xml @@ -133,11 +133,13 @@ + /* homeMgt-mapper.xml (insertNoticeFile) */ INSERT INTO hubez_common.EZ_BBS_FATC ( BBS_DIV_CD,