Skip to content

Commit 6fe3275

Browse files
committed
fix: clear button
1 parent ab73fb3 commit 6fe3275

1 file changed

Lines changed: 2 additions & 6 deletions

File tree

src/components/Questions/QuestionConditional.vue

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -579,12 +579,8 @@ export default {
579579
values: {
580580
immediate: true,
581581
handler(newValues) {
582-
if (newValues && newValues.trigger) {
583-
this.triggerValues = newValues.trigger
584-
}
585-
if (newValues && newValues.subQuestions) {
586-
this.subQuestionValues = { ...newValues.subQuestions }
587-
}
582+
this.triggerValues = newValues.trigger
583+
this.subQuestionValues = { ...newValues.subQuestions }
588584
},
589585
},
590586
},

0 commit comments

Comments
 (0)