From 20e74927b61eb82890bfe1cd3c3f7d9fc4216c9b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tu=C4=9F=C3=A7e=20K=C3=BC=C3=A7=C3=BCko=C4=9Flu?= Date: Tue, 24 Aug 2021 17:26:33 +0300 Subject: [PATCH] csb fix --- src/views/autocomplete/AutoCompleteDoc.vue | 2 +- src/views/multiselect/MultiSelectDoc.vue | 16 ++++++++-------- src/views/virtualscroller/VirtualScrollerDoc.vue | 8 ++++---- 3 files changed, 13 insertions(+), 13 deletions(-) diff --git a/src/views/autocomplete/AutoCompleteDoc.vue b/src/views/autocomplete/AutoCompleteDoc.vue index 1a1546447..96b0fba95 100755 --- a/src/views/autocomplete/AutoCompleteDoc.vue +++ b/src/views/autocomplete/AutoCompleteDoc.vue @@ -680,7 +680,7 @@ export default { } } - filteredItems = _filteredItems; + filteredItems.value = _filteredItems; } return { countries, countryService, selectedCountry1, selectedCountry2, selectedCity, filteredCities, filteredCountries, selectedCountries, groupedCities, searchCountry, searchCity, searchItems, selectedItem, filteredItems, items } diff --git a/src/views/multiselect/MultiSelectDoc.vue b/src/views/multiselect/MultiSelectDoc.vue index adf880deb..86e99360b 100755 --- a/src/views/multiselect/MultiSelectDoc.vue +++ b/src/views/multiselect/MultiSelectDoc.vue @@ -632,15 +632,15 @@ export default { ] }], items: Array.from({ length: 1000 }, (_, i) => ({ label: \`Item #\${i}\`, value: i })) + } + }, + methods: { + onSelectAllChange(event) { + this.selectedItems = event.checked ? this.items.map((item) => item.value) : []; + this.selectAll = event.checked; }, - methods: { - onSelectAllChange(event) { - this.selectedItems = event.checked ? this.items.map((item) => item.value) : []; - this.selectAll = event.checked; - }, - onChange(event) { - this.selectAll = event.value.length === this.items.length - } + onChange(event) { + this.selectAll = event.value.length === this.items.length } } } diff --git a/src/views/virtualscroller/VirtualScrollerDoc.vue b/src/views/virtualscroller/VirtualScrollerDoc.vue index e5c08bd27..276f4d7ff 100644 --- a/src/views/virtualscroller/VirtualScrollerDoc.vue +++ b/src/views/virtualscroller/VirtualScrollerDoc.vue @@ -340,7 +340,7 @@ export default { tabName: 'Options API Source', content: `