fix(测试跟踪): 测试用例删除评论后仍然存在
--bug=1013570 --user=李玉号 【测试跟踪】功能用例 -其他信息 -评论删除后,切换到附件,再切换回来,评论仍存在,再删除报错 https://www.tapd.cn/55049933/s/1166845
This commit is contained in:
parent
599256fd5f
commit
3dbe51bee3
|
@ -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"
|
||||
|
|
|
@ -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) {
|
||||
|
|
Loading…
Reference in New Issue