fix(用例管理): 修复用例评论编辑失败问题

--bug=1035920 --user=郭雨琦 https://www.tapd.cn/55049933/bugtrace/bugs/view/1155049933001035920
This commit is contained in:
guoyuqi 2024-02-27 17:53:56 +08:00 committed by 刘瑞斌
parent 867886860f
commit b7825b65ac
2 changed files with 11 additions and 10 deletions

View File

@ -16,7 +16,7 @@ public class FunctionalCaseCommentRequest {
private String id; private String id;
@Schema(description = "功能用例ID", requiredMode = Schema.RequiredMode.REQUIRED) @Schema(description = "功能用例ID", requiredMode = Schema.RequiredMode.REQUIRED)
@NotBlank(message = "{functional_case_comment.case_id.not_blank}", groups = {Created.class}) @NotBlank(message = "{functional_case_comment.case_id.not_blank}", groups = {Created.class, Updated.class})
private String caseId; private String caseId;
@Schema(description = "评论@的人的Id, 多个以';'隔开") @Schema(description = "评论@的人的Id, 多个以';'隔开")

View File

@ -59,6 +59,7 @@ export default defineComponent({
} }
const params: CommentParams = { const params: CommentParams = {
bugId: item.bugId, bugId: item.bugId,
caseId: item.caseId,
content, content,
event, event,
commentType: currentItem.commentType, commentType: currentItem.commentType,