Fix Issue #6986
pull/7034/head
Tuğçe Küçükoğlu 2024-12-30 14:43:03 +03:00 committed by GitHub
commit 61c7aa469e
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 4 additions and 3 deletions

View File

@ -91,11 +91,12 @@ export default {
this.d_loading = newValue; this.d_loading = newValue;
} }
}, },
items(newValue, oldValue) { items: {
if (!oldValue || oldValue.length !== (newValue || []).length) { handler(newValue) {
this.init(); this.init();
this.calculateAutoSize(); this.calculateAutoSize();
} },
deep: true
}, },
itemSize() { itemSize() {
this.init(); this.init();