fix(date-picker): set calendar to null (#903)

Fixes #878
This commit is contained in:
Eric Liu 2021-11-11 08:04:06 -08:00 committed by GitHub
commit 4df812bc3f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -188,6 +188,7 @@
onDestroy(() => { onDestroy(() => {
if (calendar) { if (calendar) {
calendar.destroy(); calendar.destroy();
calendar = null;
} }
}); });