* fix: the width prop of el-table-column is invalid when it is 0 * Update table-column.js
@@ -99,7 +99,7 @@ const getDefaultColumn = function(type, options) {
column.minWidth = 80;
}
- column.realWidth = column.width || column.minWidth;
+ column.realWidth = column.width === undefined ? column.minWidth : column.width;
return column;
};