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) {
|
||||
// 解析富文本框中的图片
|
||||
let mdImages = [];
|
||||
mdImages.push(...parseMdImage(param.description));
|
||||
// 将图片从临时目录移入正式目录
|
||||
saveMarkDownImg({
|
||||
projectId: getCurrentProjectID(),
|
||||
resourceId: param.id,
|
||||
fileNames: mdImages
|
||||
});
|
||||
if (param.id) {
|
||||
// 解析富文本框中的图片
|
||||
let mdImages = [];
|
||||
mdImages.push(...parseMdImage(param.description));
|
||||
// 将图片从临时目录移入正式目录
|
||||
saveMarkDownImg({
|
||||
projectId: getCurrentProjectID(),
|
||||
resourceId: param.id,
|
||||
fileNames: mdImages
|
||||
});
|
||||
}
|
||||
},
|
||||
addCommentOpen(status) {
|
||||
this.status = status;
|
||||
|
|
Loading…
Reference in New Issue