njleonzhang / vue-data-tables

A simple, customizable and pageable table with SSR support, based on vue2 and element-ui
https://njleonzhang.github.io/vue-data-tables
MIT License
1.02k stars 221 forks source link

latest src code can not find debounceTime is it be removed? #259

Closed emacle closed 4 years ago

emacle commented 4 years ago

For feature request, provide the following section

Motivation / Use Case

debounce time

Expected Behavior

Other Information

There seems to be no such example for debounce in data-table-server in the documentation,

njleonzhang commented 4 years ago

what‘s your meaning by debounceTime? 可以中文交流

emacle commented 4 years ago

想请教一下 使用vue-data-server 时, 输入查询过滤时能否使用 debounce(防抖动函数),现在是监听每输入一个字符,都会向服务端发送一次请求,我看其他issue https://github.com/njleonzhang/vue-data-tables/issues/133#issuecomment-355183503 说有这个参数 但是找了找 没有找到这个设置

njleonzhang commented 4 years ago

那个是以前版本的一个 issue 了,现在的版本库里面我没有提供内置的 searchbox 了,searchbox 是用户自己画的,debounce 需要你自己处理了。

emacle commented 4 years ago

好的 谢谢 回复太及时了