Explorar o código

Table: Change debounce invoke atBegin.

Liril %!s(int64=8) %!d(string=hai) anos
pai
achega
5f5ae1408e
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      packages/table/src/table.vue

+ 1 - 1
packages/table/src/table.vue

@@ -244,7 +244,7 @@
 
     created() {
       this.tableId = 'el-table_' + tableIdSeed + '_';
-      this.debouncedLayout = debounce(50, () => this.doLayout());
+      this.debouncedLayout = debounce(50, true, () => this.doLayout());
     },
 
     computed: {