Skip to content

Commit 6d0d987

Browse files
committed
fix: harmony height
1 parent 2fa55e1 commit 6d0d987

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/packages/elevator/elevator.taro.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -216,7 +216,7 @@ export const Elevator: FunctionComponent<
216216
const getWrapStyle = useMemo(() => {
217217
const calcHeight = Number.isNaN(+height) ? height : `${height}px`
218218

219-
return { height: harmony() ? Number(calcHeight) : calcHeight }
219+
return { height: harmony() ? Number(height) : calcHeight }
220220
}, [height])
221221

222222
useEffect(() => {

0 commit comments

Comments
 (0)