▸ switchTab(options): Promise<void>
description Switch to a specified tab page within the Mini Program.
example
bn.switchTab({
url: "/pages/tabbar/index",
});
Parameters
| Name | Type |
|---|
options | RouteOptions |
Returns
Promise<void>
Interface: RouteOptions
| Name | Type | Description |
|---|
| url | string | |
Last modified on