Skip to content

Commit 0fcee81

Browse files
authored
Merge pull request #2420 from didi/fix-transfom-string
fix transform 字符串转数组未生效问题
2 parents 382acae + c2f338f commit 0fcee81

File tree

1 file changed

+1
-1
lines changed
  • packages/webpack-plugin/lib/runtime/components/react

1 file changed

+1
-1
lines changed

packages/webpack-plugin/lib/runtime/components/react/utils.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -550,7 +550,7 @@ export function useTransformStyle (styleObj: Record<string, any> = {}, { enableV
550550
// transform rpx to px
551551
transformBoxShadow(normalStyle)
552552
// transform 字符串格式转化数组格式(先转数组再处理css var)
553-
transformTransform(styleObj)
553+
transformTransform(normalStyle)
554554

555555
return {
556556
hasVarDec,

0 commit comments

Comments
 (0)