diff --git a/harmony_dialog/src/main/ets/component/DatePickerDialogView.ets b/harmony_dialog/src/main/ets/component/DatePickerDialogView.ets index cdfcbb6ef2b9f5a07cc4e204c6c690abf35f2991..e8e4043377f757875225b3b76d4e24279136b85e 100644 --- a/harmony_dialog/src/main/ets/component/DatePickerDialogView.ets +++ b/harmony_dialog/src/main/ets/component/DatePickerDialogView.ets @@ -216,7 +216,7 @@ export struct DatePickerDialogView { this.onChangeData(3); }) TextPicker({ range: this.hours, value: this.hour }) - .TextPickerStyle(this.options, this.containYear, 9) + .TextPickerStyle(this.options, this.containHour, 9) .onChange((value) => { this.hour = value as string; this.onChangeData(4);