fix(测试跟踪): 用例评审,没有写评论直接通过,后台日志报错
--bug=1034452 --user=陈建星 【测试跟踪】用例评审-通过-未填写意见-后端报错Value for sourceId cannot be null https://www.tapd.cn/55049933/s/1618020
This commit is contained in:
parent
79d7b89e09
commit
3cd3ee3cff
|
@ -180,15 +180,17 @@ export default {
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
handleMdImages(param) {
|
handleMdImages(param) {
|
||||||
// 解析富文本框中的图片
|
if (param.id) {
|
||||||
let mdImages = [];
|
// 解析富文本框中的图片
|
||||||
mdImages.push(...parseMdImage(param.description));
|
let mdImages = [];
|
||||||
// 将图片从临时目录移入正式目录
|
mdImages.push(...parseMdImage(param.description));
|
||||||
saveMarkDownImg({
|
// 将图片从临时目录移入正式目录
|
||||||
projectId: getCurrentProjectID(),
|
saveMarkDownImg({
|
||||||
resourceId: param.id,
|
projectId: getCurrentProjectID(),
|
||||||
fileNames: mdImages
|
resourceId: param.id,
|
||||||
});
|
fileNames: mdImages
|
||||||
|
});
|
||||||
|
}
|
||||||
},
|
},
|
||||||
addCommentOpen(status) {
|
addCommentOpen(status) {
|
||||||
this.status = status;
|
this.status = status;
|
||||||
|
|
Loading…
Reference in New Issue