Skip to content

Commit 98a2b57

Browse files
authored
1 parent c41709c commit 98a2b57

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/components/Table.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1007,7 +1007,7 @@ export default {
10071007
handleSearch() {
10081008
this.resetTable();
10091009
// for remote mode, we need to emit on-search
1010-
if (this.mode === 'remote') {
1010+
if (this.mode === 'remote' || this.searchTerm.length === 0) {
10111011
this.$emit('on-search', {
10121012
searchTerm: this.searchTerm,
10131013
});

0 commit comments

Comments
 (0)