공지사항 삭제 기능 추가

This commit is contained in:
kimjhjjang
2022-11-02 17:51:40 +09:00
parent 9cf4c312e5
commit 39e11a5e13
12 changed files with 232 additions and 93 deletions

View File

@@ -188,8 +188,9 @@ export default {
homeMgtApi
.getImageUrl(fd)
.then((response) => {
const url = '..' + response.data.data.replaceAll('\\', '/'); // Get url from response
console.log(url);
const url =
'/api/v1/bo/homeMgt/preview/' +
encodeURIComponent(response.data.data.replaceAll('\\', '/').replaceAll('/', '|')); // Get url from response
Editor.insertEmbed(cursorLocation, 'image', url);
resetUploader();
})
@@ -502,7 +503,6 @@ export default {
this.row.fileTitle = fileTitle;
this.row.filePath = filePath;
this.row.fileNm = fileName;
console.log(this.row);
homeMgtApi.fileDownload(this.row);
},
},