Browse Source

enhance(std-table): change debounce to trailing

Jacky 9 tháng trước cách đây
mục cha
commit
f42648e64a
1 tập tin đã thay đổi với 2 bổ sung2 xóa
  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, {
-  leading: true,
-  trailing: false,
+  leading: false,
+  trailing: true,
 })
 
 const filterParams = reactive({})