docs: improve interceptor typing (#9066)

This commit is contained in:
neverland
2021-07-19 15:39:02 +08:00
committed by GitHub
parent 2b0fdc4e26
commit 4a74aa523a
12 changed files with 25 additions and 23 deletions
+1 -1
View File
@@ -173,7 +173,7 @@ export default {
| route | Whether to enable route mode | _boolean_ | `false` |
| placeholder | Whether to generate a placeholder element when fixed | _boolean_ | `false` |
| safe-area-inset-bottom | Whether to enable bottom safe area adaptation | _boolean_ | `false` |
| before-change | Callback function before changing tabsreturn `false` to prevent changesupport return Promise | _(name) => boolean \| Promise_ | - |
| before-change | Callback function before changing tabreturn `false` to prevent changesupport return Promise | _(name: number \| string) => boolean \| Promise\<boolean\>_ | - |
### Tabbar Events