From 359c18e0106667b4c8aef9c22078f2c8300f16db Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=A2=81=E7=81=8F?= Date: Tue, 15 Oct 2019 09:50:00 +0800 Subject: [PATCH] fix #21 --- src/components/table/table-head.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/table/table-head.vue b/src/components/table/table-head.vue index 40c23be0..ba428185 100644 --- a/src/components/table/table-head.vue +++ b/src/components/table/table-head.vue @@ -285,7 +285,7 @@ const _column = table.columns.find(item => item.__id === column.__id); if (_column) _column.width = columnWidth; - table.$emit('on-column-width-resize', column.width, startLeft - startColumnLeft, column, event); + table.$emit('on-column-width-resize', _column.width, startLeft - startColumnLeft, column, event); document.body.style.cursor = ''; this.dragging = false;