docs(@vant/use): adjust strcut
This commit is contained in:
@@ -32,19 +32,21 @@ export default {
|
||||
};
|
||||
```
|
||||
|
||||
## 类型定义
|
||||
## API
|
||||
|
||||
### 类型定义
|
||||
|
||||
```ts
|
||||
function useScrollParent(element: Ref<Element>): Ref<Element>;
|
||||
```
|
||||
|
||||
## 参数
|
||||
### 参数
|
||||
|
||||
| 参数 | 说明 | 类型 | 默认值 |
|
||||
| ------- | -------- | --------------- | ------ |
|
||||
| element | 当前元素 | _Ref\<Element>_ | - |
|
||||
|
||||
## 返回值
|
||||
### 返回值
|
||||
|
||||
| 参数 | 说明 | 类型 | 默认值 |
|
||||
| ------------ | ------------------ | --------------- | ------ |
|
||||
|
||||
Reference in New Issue
Block a user