Skip to content

Commit c9dd872

Browse files
authored
Update u-th.vue
fix: 修复thStyle设置无效
1 parent a6ebb34 commit c9dd872

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

uview-ui/components/u-th/u-th.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@
3939
style.padding = this.parent.padding;
4040
style.borderBottom = `solid 1px ${this.parent.borderColor}`;
4141
style.borderRight = `solid 1px ${this.parent.borderColor}`;
42-
Object.assign(style, this.parent.style);
42+
Object.assign(style, this.parent.thStyle);
4343
this.thStyle = style;
4444
}
4545
}

0 commit comments

Comments
 (0)