zjkj-login-dialog
v1.0.21
Published
## Project setup ``` cnpm install zjkj-login-dialog ``` ### 开发调试 ``` npm link ``` ### 卸载链接 ``` npm unlink zjkj-login-dialog ``` ### 使用说明 **main.js全局注册**
Downloads
7
Readme
login登录组件
Project setup
cnpm install zjkj-login-dialog
开发调试
npm link
卸载链接
npm unlink zjkj-login-dialog
使用说明
main.js全局注册
import LoginDialog from 'zjkj-login-dialog'
Vue.use(LoginDialog)
参数说明
options
| params | Description | type | default |
| :------------ |:------------------------------ |:-----------| :------------ |
|downloadWindow | window下载窗口 | Boolean | false |
|closeOnPressEscape | 是否Esc退出 | Boolean | true |
|Authorization |请求头短token-各模块自行填入 | String | |
| moduleName | 模块标题名称 | String | |
| send-data | 登录成功抛出token,各模块自行处理 | Fun | |
|activeCode | 登录项默认选中 | Number(1,2,3,) | 1 |
|downloadURL | 客户端下载地址 | String | |
|close-dialog | 关闭登录框 | Fun | |