提交 b2f9fc01 编写于 作者: O oasis-cloud

chore: 提取 pxCheck 到 utils 中

上级 127853cc
export const pxCheck = (value: string | number): string => {
return Number.isNaN(Number(value)) ? String(value) : `${value}px`
}
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册