/** * @see [description](https://mp.weixin.qq.com/debug/wxadoc/dev/api/ui-navigate.html#wxswitchtabobject) * 跳转到 tabBar 页面,并关闭其他所有非 tabBar 页面 * @param url [string] 需要跳转的 tabBar 页面的路径(需在 app.json 的 tabBar 字段定义的页面),路径后不能带参数 */ export default function switch_tab(url: string): Promise;