Skip to content

Commit bd3fbe4

Browse files
committed
修复多表头列宽存在偏差的问题
1 parent 330e6fe commit bd3fbe4

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

packages/ve-table/src/body/index.jsx

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -548,8 +548,7 @@ export default {
548548
*/
549549
tdSizeChange({ key, width }) {
550550
const { colsWidths } = this;
551-
// math floor
552-
colsWidths.set(key, Math.floor(width));
551+
colsWidths.set(key, width);
553552
this.$emit(EMIT_EVENTS.BODY_CELL_WIDTH_CHANGE, colsWidths);
554553
},
555554

0 commit comments

Comments
 (0)