fix(测试跟踪): 测试用例删除评论后仍然存在

--bug=1013570 --user=李玉号 【测试跟踪】功能用例 -其他信息 -评论删除后,切换到附件,再切换回来,评论仍存在,再删除报错
https://www.tapd.cn/55049933/s/1166845
This commit is contained in:
shiziyuan9527 2022-05-27 17:03:11 +08:00 committed by jianxing
parent 599256fd5f
commit 3dbe51bee3
2 changed files with 2 additions and 2 deletions

View File

@ -87,7 +87,7 @@
<test-case-edit-other-info :read-only="readOnly" :project-id="projectIds" :form="form"
:is-copy="currentTestCaseInfo.isCopy"
:label-width="formLabelWidth" :case-id="form.id"
:type="type" :comments="comments"
:type="type" :comments.sync="comments"
@openComment="openComment"
:is-click-attachment-tab.sync="isClickAttachmentTab"
:version-enable="versionEnable"

View File

@ -201,7 +201,7 @@ export default {
id = this.form.id;
}
this.result = this.$get('/test/case/comment/list/' + id, res => {
this.comments = res.data;
this.$emit('update:comments', res.data);
})
},
setRelationshipCount(count) {