安装与使用
# 安装插件
npm install @hvisions/plugin-default-login
// 引入插件
import loginPlugin from "@hvisions/plugin-default-login";
import Core from "@hvisions/core";
// 使用插件
Core.plugin(loginPlugin);
login 配置
| 参数名 | 说明 | 类型 | 默认值 | 必须 | 版本 |
|---|---|---|---|---|---|
| sysLogo | 系统 logo,为 null 时不显示 | string | - | - | |
| topLogo | 顶部 logo,为 null 时不显示 | string | - | - | |
| bottomDesc | 底部说明 | string | - | - | |
| picCenter | 中间图片 | string | - | - | |
| background | 登录界面背景图 | string | - | - | |
| copyright | 为 null 时隐藏登录界面正下方版权信息内容 | - | - | - |