docs(@vant/use): adjust strcut
This commit is contained in:
@@ -54,7 +54,9 @@ export default {
|
||||
};
|
||||
```
|
||||
|
||||
## 类型定义
|
||||
## API
|
||||
|
||||
### 类型定义
|
||||
|
||||
```ts
|
||||
function useClickAway(
|
||||
@@ -68,7 +70,7 @@ type Options = {
|
||||
};
|
||||
```
|
||||
|
||||
## 参数
|
||||
### 参数
|
||||
|
||||
| 参数 | 说明 | 类型 | 默认值 |
|
||||
| -------- | ------------------------ | -------------------------- | ------ |
|
||||
@@ -76,7 +78,7 @@ type Options = {
|
||||
| listener | 点击外部时触发的回调函数 | _EventListener_ | - |
|
||||
| options | 可选的配置项 | _Options_ | 见下表 |
|
||||
|
||||
## Options
|
||||
### Options
|
||||
|
||||
| 参数 | 说明 | 类型 | 默认值 |
|
||||
| --------- | -------------- | -------- | ------- |
|
||||
|
||||
Reference in New Issue
Block a user