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 1e443f4b39
commit f26cff3372
1 changed files with 1 additions and 1 deletions

View File

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