fix(测试跟踪): 用例评审,没有写评论直接通过,后台日志报错

--bug=1034452 --user=陈建星 【测试跟踪】用例评审-通过-未填写意见-后端报错Value for sourceId cannot be null https://www.tapd.cn/55049933/s/1618020
This commit is contained in:
AgAngle 2024-11-26 18:42:13 +08:00 committed by 刘瑞斌
parent 79d7b89e09
commit 3cd3ee3cff
1 changed files with 11 additions and 9 deletions

View File

@ -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;