diff --git a/src/utils/index.ts b/src/utils/index.ts index 348f6bad..a595302c 100644 --- a/src/utils/index.ts +++ b/src/utils/index.ts @@ -156,7 +156,7 @@ export function background_computer(new_style: backgroundImgUrlStyle) { * @returns 返回一个字符串,包含了计算后的样式定义,可以被直接应用于组件的样式属性。 */ export function common_styles_computer(new_style: componentsCommonCommonStyle) { - return gradient_computer(new_style) + padding_computer(new_style) + margin_computer(new_style) + radius_computer(new_style) + box_shadow_computer(new_style) + background_computer(new_style); + return gradient_computer(new_style) + padding_computer(new_style) + margin_computer(new_style) + radius_computer(new_style) + box_shadow_computer(new_style) + background_computer(new_style) + `overflow:hidden;`; } /**