From 72a715a33e1899d2a2e918d20fe70e434b97653f Mon Sep 17 00:00:00 2001 From: Cr <631807682@qq.com> Date: Mon, 1 Jul 2019 16:05:19 +0800 Subject: [PATCH] Table: fix showOverflowTooltip not reactive (#16295) --- packages/table/src/table-column.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/table/src/table-column.js b/packages/table/src/table-column.js index 1c309c32..853c26c8 100644 --- a/packages/table/src/table-column.js +++ b/packages/table/src/table-column.js @@ -196,7 +196,7 @@ export default { }, registerNormalWatchers() { - const props = ['label', 'property', 'filters', 'filterMultiple', 'sortable', 'index', 'formatter', 'className', 'labelClassName']; + const props = ['label', 'property', 'filters', 'filterMultiple', 'sortable', 'index', 'formatter', 'className', 'labelClassName', 'showOverflowTooltip']; // 一些属性具有别名 const aliases = { prop: 'property', @@ -279,7 +279,7 @@ export default { index: this.index }; - const basicProps = ['columnKey', 'label', 'className', 'labelClassName', 'type', 'renderHeader', 'resizable', 'formatter', 'fixed', 'resizable']; + const basicProps = ['columnKey', 'label', 'className', 'labelClassName', 'type', 'renderHeader', 'formatter', 'fixed', 'resizable']; const sortProps = ['sortMethod', 'sortBy', 'sortOrders']; const selectProps = ['selectable', 'reserveSelection']; const filterProps = ['filterMethod', 'filters', 'filterMultiple', 'filterOpened', 'filteredValue', 'filterPlacement'];