Skip to content

Commit

Permalink
fix: remove second param of Taro.pxTransform
Browse files Browse the repository at this point in the history
  • Loading branch information
黄明 authored and ZakaryCode committed Sep 4, 2023
1 parent a0ceec7 commit f4dfbdb
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions docs/apis/taro.extend/pxTransform.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
title: Taro.pxTransform(size, designWidth)
title: Taro.pxTransform(size)
sidebar_label: pxTransform
---

Expand All @@ -10,12 +10,11 @@ sidebar_label: pxTransform
## 类型

```tsx
(size: number, designWidth?: number) => string
(size: number) => string
```

## 参数

| 参数 | 类型 |
| --- | --- |
| size | `number` |
| designWidth | `number` |

0 comments on commit f4dfbdb

Please sign in to comment.