공지사항
This commit is contained in:
@@ -37,6 +37,9 @@ let uiUtil = {
|
||||
isoStrToReadable(isoStr) {
|
||||
return isoStr.replace(/T/, ' ').substring(0, 19);
|
||||
},
|
||||
isoStrToDateOnly(isoStr) {
|
||||
return isoStr.split('T')[0];
|
||||
},
|
||||
// Pagination UI 생성 함수
|
||||
getPagingUI(curPageNo, size, totalPages, moveHandler) {
|
||||
curPageNo = parseInt(curPageNo);
|
||||
@@ -280,6 +283,8 @@ uiUtil.showFileInfo = (input, uploadFile, showImg) => {
|
||||
|
||||
inputGroup.find('.fileInfo').remove();
|
||||
|
||||
|
||||
|
||||
inputGroup.append(`
|
||||
<div class="fileInfo row text-muted fw-normal" style="display: none">
|
||||
<img src="${showImg ? uploadFile.referURL : ''}" class="w-75 mt-3 mb-3"/>
|
||||
@@ -292,6 +297,7 @@ uiUtil.showFileInfo = (input, uploadFile, showImg) => {
|
||||
</div>
|
||||
`);
|
||||
|
||||
|
||||
const fileInfo = inputGroup.find('.fileInfo');
|
||||
if (!showImg) {
|
||||
fileInfo.find('img').remove();
|
||||
|
||||
Reference in New Issue
Block a user