Skip to content

Commit

Permalink
feat(x): 同步 app-x 解析 placeholderStyle 转为驼峰风格
Browse files Browse the repository at this point in the history
  • Loading branch information
Otto-J committed Jul 18, 2024
1 parent b0bd439 commit c7192d3
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion packages/uni-app-vue/lib/uvue.runtime.esm.js
Original file line number Diff line number Diff line change
Expand Up @@ -8771,7 +8771,9 @@ function transformAttr(el, key, value, instance) {
}
if (opts["style"].indexOf(camelized) > -1) {
if (isString(value)) {
return [camelized, parseStringStyle(value)];
const _style = camelize(value);
const sytle2 = parseStringStyle(_style);
return [camelized, sytle2];
}
return [camelized, normalizeStyle(value)];
}
Expand Down

0 comments on commit c7192d3

Please sign in to comment.