Skip to content

Commit dbfdd3e

Browse files
committed
Fix the bug that the border of the table column is occasionally disappeared
1 parent 4c7539d commit dbfdd3e

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-
// fix reRender by column resize
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)