From 2e79cc286ed28c971e3b0a1d44cef2504c6e6021 Mon Sep 17 00:00:00 2001 From: tugcekucukoglu Date: Thu, 1 Feb 2024 14:49:22 +0300 Subject: [PATCH] Fixed #5132 - Calendar: 'view' property has no effect when changed after component initialization --- components/lib/calendar/Calendar.vue | 3 +++ 1 file changed, 3 insertions(+) diff --git a/components/lib/calendar/Calendar.vue b/components/lib/calendar/Calendar.vue index 30c8c9c5d..1e426d1bb 100755 --- a/components/lib/calendar/Calendar.vue +++ b/components/lib/calendar/Calendar.vue @@ -592,6 +592,9 @@ export default { }, currentView() { Promise.resolve(null).then(() => this.alignOverlay()); + }, + view(newValue) { + this.currentView = newValue; } }, created() {