| 1234567891011121314 |
- import store from '@/store'
- import { setStorage, getStorage, removeStorage } from '@/util/index.js'
- const install = (Vue, vm) => {
- uni.$u.routeIntercept = function(config, next){
- const { url, params = {}, type} = config;
-
- // TODO 派发一个方法
- next(true);
- }
- }
- export default {
- install
- }
|