若依
6 months ago
committed by
Gitee
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F
2 changed files with
4 additions and
2 deletions
-
ruoyi-ui/src/views/login.vue
-
ruoyi-ui/src/views/register.vue
|
|
@ -1,7 +1,7 @@ |
|
|
|
<template> |
|
|
|
<div class="login"> |
|
|
|
<el-form ref="loginForm" :model="loginForm" :rules="loginRules" class="login-form"> |
|
|
|
<h3 class="title">若依后台管理系统</h3> |
|
|
|
<h3 class="title">{{title}}</h3> |
|
|
|
<el-form-item prop="username"> |
|
|
|
<el-input |
|
|
|
v-model="loginForm.username" |
|
|
@ -70,6 +70,7 @@ export default { |
|
|
|
name: "Login", |
|
|
|
data() { |
|
|
|
return { |
|
|
|
title: process.env.VUE_APP_TITLE, |
|
|
|
codeUrl: "", |
|
|
|
loginForm: { |
|
|
|
username: "admin", |
|
|
|
|
|
@ -1,7 +1,7 @@ |
|
|
|
<template> |
|
|
|
<div class="register"> |
|
|
|
<el-form ref="registerForm" :model="registerForm" :rules="registerRules" class="register-form"> |
|
|
|
<h3 class="title">若依后台管理系统</h3> |
|
|
|
<h3 class="title">{{title}}</h3> |
|
|
|
<el-form-item prop="username"> |
|
|
|
<el-input v-model="registerForm.username" type="text" auto-complete="off" placeholder="账号"> |
|
|
|
<svg-icon slot="prefix" icon-class="user" class="el-input__icon input-icon" /> |
|
|
@ -80,6 +80,7 @@ export default { |
|
|
|
} |
|
|
|
}; |
|
|
|
return { |
|
|
|
title: process.env.VUE_APP_TITLE, |
|
|
|
codeUrl: "", |
|
|
|
registerForm: { |
|
|
|
username: "", |
|
|
|