fix(测试跟踪): 去掉富文本框上传图片后的图片选项

--bug=1014273 --user=陈建星 【测试跟踪】AzureDevops与MS缺陷同步失败 https://www.tapd.cn/55049933/s/1188502
This commit is contained in:
chenjianxing 2022-06-22 14:24:57 +08:00 committed by f2c-ci-robot[bot]
parent 071e2b9bb4
commit a63562b21c
2 changed files with 5 additions and 2 deletions

View File

@ -213,4 +213,8 @@ export default {
position: initial; position: initial;
} }
/deep/ .dropdown-item.dropdown-images {
display: none;
}
</style> </style>

View File

@ -17,8 +17,7 @@ export function uploadMarkDownImg(file, callback) {
export function deleteMarkDownImg(file, callback) { export function deleteMarkDownImg(file, callback) {
if (file) { if (file) {
let fileName = file.name.replace("(", "").replace(")", "").replace(" ", ""); return baseGet('/resource/md/delete/' + file[1].name, callback);
return baseGet('/resource/md/delete/' + file[1].prefix + "_" + fileName, callback);
} }
return {}; return {};
} }