fix(测试跟踪): 去掉富文本框上传图片后的图片选项
--bug=1014273 --user=陈建星 【测试跟踪】AzureDevops与MS缺陷同步失败 https://www.tapd.cn/55049933/s/1188502
This commit is contained in:
parent
071e2b9bb4
commit
a63562b21c
|
@ -213,4 +213,8 @@ export default {
|
||||||
position: initial;
|
position: initial;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/deep/ .dropdown-item.dropdown-images {
|
||||||
|
display: none;
|
||||||
|
}
|
||||||
|
|
||||||
</style>
|
</style>
|
||||||
|
|
|
@ -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 {};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue