Skip to content

Commit 4bc0d85

Browse files
committed
fix(tools/site): BorderWidth in ButtonBrick is float
1 parent 292aeda commit 4bc0d85

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

marketing-api/model/tools/site/button_brick.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ type ButtonBrick struct {
5252
// BorderColor 边框颜色信息,比如“rgba(255,255,255,1)”,默认为无
5353
BorderColor string `json:"border_color,omitempty"`
5454
// BorderWidth 边框粗细,默认0
55-
BorderWidth int `json:"border_width,omitempty"`
55+
BorderWidth float64 `json:"border_width,omitempty"`
5656
// BorderRadius 边框圆角,默认为0,范围:radius >= 0
5757
BorderRadius float64 `json:"border_radius,omitempty"`
5858
// Events 事件列表信息

0 commit comments

Comments
 (0)