fix(用例评审): 用例评审评论展示错乱

--bug=1010120 --user=李敏 [测试跟踪]github #10249用例评审评论展示错乱 https://www.tapd.cn/55049933/s/1105168
This commit is contained in:
limin-fit2 2022-02-17 16:31:12 +08:00 committed by LuoTing
parent e1cf4e0704
commit b955c1bd5d
1 changed files with 1 additions and 1 deletions

View File

@ -275,7 +275,7 @@ export default {
param.status = status;
//reviewComment
if (status === 'UnPass') {
if (this.comments.length > 0) {
if (this.$refs.reviewComment.form.description.length > 0) {
this.$post('/test/review/case/edit', param, () => {
this.$success(this.$t('commons.save_success'));
this.updateTestCases(param);