diff --git a/frontend/src/business/components/track/case/components/MsMarkDownText.vue b/frontend/src/business/components/track/case/components/MsMarkDownText.vue index 9e1ae167e7..20241ff231 100644 --- a/frontend/src/business/components/track/case/components/MsMarkDownText.vue +++ b/frontend/src/business/components/track/case/components/MsMarkDownText.vue @@ -213,4 +213,8 @@ export default { position: initial; } +/deep/ .dropdown-item.dropdown-images { + display: none; +} + diff --git a/frontend/src/network/image.js b/frontend/src/network/image.js index 45a8de05ce..154658bb2d 100644 --- a/frontend/src/network/image.js +++ b/frontend/src/network/image.js @@ -17,8 +17,7 @@ export function uploadMarkDownImg(file, callback) { export function deleteMarkDownImg(file, callback) { if (file) { - let fileName = file.name.replace("(", "").replace(")", "").replace(" ", ""); - return baseGet('/resource/md/delete/' + file[1].prefix + "_" + fileName, callback); + return baseGet('/resource/md/delete/' + file[1].name, callback); } return {}; }