提交 c7192d33 编写于 作者: 辛宝Otto's avatar 辛宝Otto 🥊

feat(x): 同步 app-x 解析 placeholderStyle 转为驼峰风格

上级 b0bd439d
...@@ -8771,7 +8771,9 @@ function transformAttr(el, key, value, instance) { ...@@ -8771,7 +8771,9 @@ function transformAttr(el, key, value, instance) {
} }
if (opts["style"].indexOf(camelized) > -1) { if (opts["style"].indexOf(camelized) > -1) {
if (isString(value)) { if (isString(value)) {
return [camelized, parseStringStyle(value)]; const _style = camelize(value);
const sytle2 = parseStringStyle(_style);
return [camelized, sytle2];
} }
return [camelized, normalizeStyle(value)]; return [camelized, normalizeStyle(value)];
} }
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册