docs: improve interceptor typing (#9066)
This commit is contained in:
+1
-1
@@ -243,7 +243,7 @@ export default {
|
||||
| swipe-threshold | Set swipe tabs threshold | _number \| string_ | `5` | - |
|
||||
| title-active-color | Title active color | _string_ | - |
|
||||
| title-inactive-color | Title inactive color | _string_ | - |
|
||||
| before-change | Callback function before changing tabs,return `false` to prevent change,support return Promise | _(name) => boolean \| Promise_ | - |
|
||||
| before-change | Callback function before changing tabs,return `false` to prevent change,support return Promise | _(name: number \| string) => boolean \| Promise\<boolean\>_ | - |
|
||||
|
||||
### Tab Props
|
||||
|
||||
|
||||
@@ -252,7 +252,7 @@ export default {
|
||||
| swipe-threshold | 滚动阈值,标签数量超过阈值且总宽度超过标签栏宽度时开始横向滚动 | _number \| string_ | `5` |
|
||||
| title-active-color | 标题选中态颜色 | _string_ | - |
|
||||
| title-inactive-color | 标题默认态颜色 | _string_ | - |
|
||||
| before-change | 切换标签前的回调函数,返回 `false` 可阻止切换,支持返回 Promise | _(name) => boolean \| Promise_ | - |
|
||||
| before-change | 切换标签前的回调函数,返回 `false` 可阻止切换,支持返回 Promise | _(name: number \| string) => boolean \| Promise\<boolean\>_ | - |
|
||||
|
||||
### Tab Props
|
||||
|
||||
|
||||
Reference in New Issue
Block a user