浏览代码

enhance(std-table): change debounce to trailing

Jacky 6 月之前
父节点
当前提交
f42648e64a
共有 1 个文件被更改,包括 2 次插入2 次删除
  1. 2 2
      app/src/components/StdDesign/StdDataDisplay/StdTable.vue

+ 2 - 2
app/src/components/StdDesign/StdDataDisplay/StdTable.vue

@@ -153,8 +153,8 @@ const batchColumns = computed(() => {
 })
 })
 
 
 const get_list = _.debounce(_get_list, 100, {
 const get_list = _.debounce(_get_list, 100, {
-  leading: true,
-  trailing: false,
+  leading: false,
+  trailing: true,
 })
 })
 
 
 const filterParams = reactive({})
 const filterParams = reactive({})