## 一、普通路由跳转
```
uni.navigateTo({
url: '/pages/404/404',
success: res => {},
fail: () => {},
complete: () => {}
});
```
## 二、如果定义了底部的tab之后,路由跳转
```
onLoad() {
let timer = setTimeout(()=>{
clearTimeout(timer)
uni.switchTab({
url:"/pages/index/index"
})
},2000)
}
```