1.0.1 • Published 3 years ago
y-uni-route v1.0.1
安装
import yUniRoute from 'y-uni-route'; yUniRoute();
路由拦截
uni.$router.beforeEnter = function(to, from, next,options,type){
...相关拦截操作
next({ options,type })
}
uni.$router.afterEach = function(to, from){
}