docs: update custom-login-page

This commit is contained in:
Administrator 2021-07-30 06:59:55 +00:00 committed by John Smith
parent 9586d85181
commit 9feaa5fa46

View File

@ -2,7 +2,7 @@
title: 自定义登录框 title: 自定义登录框
description: 通过上传Vue代码和CSS样式来自定义登录框 description: 通过上传Vue代码和CSS样式来自定义登录框
published: true published: true
date: 2021-07-30T02:42:26.037Z date: 2021-07-30T06:59:54.419Z
tags: tags:
editor: markdown editor: markdown
dateCreated: 2021-07-29T06:23:40.688Z dateCreated: 2021-07-29T06:23:40.688Z
@ -71,6 +71,11 @@ form表单外的div标签的 **class** 属性需要有 **layui-form**。
<form id="loginForm" :action="pageParams.loginFormAction" method="post" @submit.prevent="submitForm"></form> <form id="loginForm" :action="pageParams.loginFormAction" method="post" @submit.prevent="submitForm"></form>
``` ```
- 记住我
```html
<input type="checkbox" v-model="formData.remember" name="remember" lay-skin="primary" title="记住密码" lay-filter="rememberFilter">
```
# 页面参数pageParams # 页面参数pageParams
| 字段名 | 说明 | 默认值 | 能否为空 | 取值范围 | | 字段名 | 说明 | 默认值 | 能否为空 | 取值范围 |
| :-: | :-: | :-: | :-: | :-: | | :-: | :-: | :-: | :-: | :-: |