hqit-plugin
v1.2.13
Published
auth plugin
Downloads
7
Readme
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