diff --git a/src/components/select/select.vue b/src/components/select/select.vue index 55a0ad94..a40ba72d 100644 --- a/src/components/select/select.vue +++ b/src/components/select/select.vue @@ -690,6 +690,7 @@ }, navigateOptions(direction){ const optionsLength = this.flatOptions.length - 1; + if (optionsLength < 0) return; let index = this.focusIndex + direction; if (index < 0) index = optionsLength;