Skip to content

Commit

Permalink
Merge branch 'main' into fix/skyline
Browse files Browse the repository at this point in the history
  • Loading branch information
yushijie1 committed Nov 29, 2024
2 parents ee49be9 + 565ab79 commit 649a6cb
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions packages/postcss-pxtransform/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -291,8 +291,6 @@ function createPxReplace (rootValue, unitPrecision, minPixelValue, onePxTransfor
return m
}

// 转换工作,如果是harmony的话不转换
if (platform === 'harmony') { return m }
let val = pixels / rootValue(input, m, $1)
if (unitPrecision >= 0 && unitPrecision <= 100) {
val = toFixed(val, unitPrecision)
Expand Down

0 comments on commit 649a6cb

Please sign in to comment.