diff --git a/test-track/frontend/src/business/plan/view/comonents/functional/FunctionalTestCaseEdit.vue b/test-track/frontend/src/business/plan/view/comonents/functional/FunctionalTestCaseEdit.vue index fb144c59b6..7365bd203b 100644 --- a/test-track/frontend/src/business/plan/view/comonents/functional/FunctionalTestCaseEdit.vue +++ b/test-track/frontend/src/business/plan/view/comonents/functional/FunctionalTestCaseEdit.vue @@ -364,6 +364,13 @@ export default { let mdImages = []; mdImages.push(...parseMdImage(param.description)); mdImages.push(...parseMdImage(param.actualResult)); + let comments = this.$refs.comment.comments; + if (comments) { + comments.forEach((item) => { + mdImages.push(...parseMdImage(item.description)); + }); + } + // 将图片从临时目录移入正式目录 saveMarkDownImg({ projectId: getCurrentProjectID(),