From a63562b21cbad4d22129c10a78a508605a154266 Mon Sep 17 00:00:00 2001 From: chenjianxing Date: Wed, 22 Jun 2022 14:24:57 +0800 Subject: [PATCH] =?UTF-8?q?fix(=E6=B5=8B=E8=AF=95=E8=B7=9F=E8=B8=AA):=20?= =?UTF-8?q?=E5=8E=BB=E6=8E=89=E5=AF=8C=E6=96=87=E6=9C=AC=E6=A1=86=E4=B8=8A?= =?UTF-8?q?=E4=BC=A0=E5=9B=BE=E7=89=87=E5=90=8E=E7=9A=84=E5=9B=BE=E7=89=87?= =?UTF-8?q?=E9=80=89=E9=A1=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --bug=1014273 --user=陈建星 【测试跟踪】AzureDevops与MS缺陷同步失败 https://www.tapd.cn/55049933/s/1188502 --- .../components/track/case/components/MsMarkDownText.vue | 4 ++++ frontend/src/network/image.js | 3 +-- 2 files changed, 5 insertions(+), 2 deletions(-) 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 {}; }