Skip to content

Commit 33b509e

Browse files
committed
fix: 修复calc解析vw异常
1 parent 8e3181a commit 33b509e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/style_propetries/macros.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ macro_rules! generate_expr_lit_calc {
8282
if unit == "px" {
8383
format!("{}lpx", parsed_value)
8484
} else {
85-
format!("{}l{}", parsed_value, unit)
85+
format!("{}{}", parsed_value, unit)
8686
}
8787
} else {
8888
format!("{}px", parsed_value)

0 commit comments

Comments
 (0)