提交 f8ac1f87 编写于 作者: 辛宝Otto's avatar 辛宝Otto 🥊 提交者: 折腾笔记

feat(x): 补充 style 字符串样式解析

上级 7048bde0
......@@ -99,6 +99,8 @@ export function normalizeStyle(
styleObject[key] = value
})
return vueNormalizeStyle(styleObject)
} else if (isString(value)) {
return parseStringStyle(value as string)
} else if (isArray(value)) {
const res: NormalizedStyle = {}
for (let i = 0; i < value.length; i++) {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册