mirror of
http://git.mhez-qa.uplus.co.kr/hubez/hubez-admin.git
synced 2025-12-07 01:04:20 +09:00
공지사항 삭제 기능 추가
This commit is contained in:
@@ -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);
|
||||
},
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user