Skip to content

Commit

Permalink
fix(*): fix code.
Browse files Browse the repository at this point in the history
  • Loading branch information
shangqunfeng committed Oct 18, 2024
1 parent cd97939 commit 890e513
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -179,7 +179,7 @@ function calculateSizePosition (h: number, ch: number, val: string): number {
if (!h || !ch) return 0

// 百分比需要单独的计算
if (isPercent(h))) {
if (isPercent(h)) {
h = ch * parseFloat(h) / 100
}

Expand Down

0 comments on commit 890e513

Please sign in to comment.