Skip to content

Commit e24003d

Browse files
authored
1 parent 2f8fce9 commit e24003d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/vue-simple-suggest.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -687,7 +687,7 @@ export default {
687687
}
688688
} finally {
689689
if (this.maxSuggestions) {
690-
result.splice(this.maxSuggestions)
690+
result = result.slice(0, this.maxSuggestions)
691691
}
692692
693693
this.isPlainSuggestion = nextIsPlainSuggestion

0 commit comments

Comments
 (0)