hqit-plugin

auth plugin
10,866
Install
npm install hqit-plugin
Latest Version:1.2.13
Vue:2
License:MIT
Last Updated:Aug 25, 2021
Links: npm
Maintainer: lqiao

hqit-plugin

A Vue.js project

Build Setup

# install dependencies
npm install

# serve with hot reload at localhost:8080
npm run dev

# build for production with minification
npm run build

# npm publish
npm publish

For detailed explanation on how things work, consult the docs for vue-loader.

plugin config

动态路由相关

router

路由变量

asyncRouterMap

动态路由集合:用于通过判断生成动态路由

loginPath

登录页面路径:用于清除登录信息&登录过期跳转

getUser

获取用户信息:获取用户信息接口,包含权限集合,用于过滤路由集合

authoritiesPath

权限变量路径:用于getUser请求后,获取权限集合对象

authKey

sessionStorage权限存储变量名称

自适应相关

baseSize

设置根元素fontSize

Version History

Version Released Vue License
1.2.13 ^2.5.11 MIT
1.2.12 ^2.5.11 MIT
1.2.11 ^2.5.11 MIT
1.2.10 ^2.5.11 MIT
1.2.8 ^2.5.11 MIT