首次渲染不更新标识优化

uat_us
caiyiling 2024-03-29 10:20:54 +08:00
parent 82e5142bac
commit efa7c61fe4
1 changed files with 6 additions and 13 deletions

View File

@ -461,19 +461,12 @@ export default {
} }
FusionEvent.$emit('addOrUpdateAnnotations', { data }) FusionEvent.$emit('addOrUpdateAnnotations', { data })
this.questionFormChangeState = true this.questionFormChangeState = true
if (obj.QuestionType === 51) { if (obj.QuestionType === 51 && !this.liverRender) {
if (!this.liverRender) { this.liverRender = true
this.liverRender = true } else if (obj.QuestionType === 52 && !this.lungRender) {
} else { this.lungRender = true
this.setQuestionStatus(this.questions, this.measurements[idx].QuestionType) } else {
} this.setQuestionStatus(this.questions, this.measurements[idx].QuestionType)
}
if (obj.QuestionType === 52) {
if (!this.lungRender) {
this.lungRender = true
} else {
this.setQuestionStatus(this.questions, this.measurements[idx].QuestionType)
}
} }
} }
}, },