@zkty-team/x-engine-router
v2.0.1
Published
重写vue-router的push和go方法, 以拦截路由跳转
Downloads
7
Readme
@zkty-team/x-engine-router
重写VueRouter的push, 拦截vue跳转
重写VueRouter的go, 拦截vue跳转
通过npm安装包
npm install @zkty-team/x-engine-router
- 使用方式
import xxx from '@zkty-team/x-engine-router'
// router.index
// 参数1: VueRouter实例
// 参数2: scheme tip:
// omp / http / https / microapp / file
xxx(VueRouter, 'omp');