From ec5c6582d9848ad0a4998d7f46ae10eb9aa7f75b Mon Sep 17 00:00:00 2001
From: lihua <531456470@qq.com>
Date: Wed, 31 Jul 2019 13:43:40 +0800
Subject: [PATCH] =?UTF-8?q?=E5=8F=96=E6=B6=88=E9=BB=98=E8=AE=A4=E5=AF=86?=
=?UTF-8?q?=E7=A0=81?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
src/icons/svg/eye-open.svg | 1 +
src/icons/svg/eye.svg | 1 +
src/icons/svg/password.svg | 1 +
src/views/login/index.vue | 8 ++++----
4 files changed, 7 insertions(+), 4 deletions(-)
create mode 100644 src/icons/svg/eye-open.svg
create mode 100644 src/icons/svg/eye.svg
create mode 100644 src/icons/svg/password.svg
diff --git a/src/icons/svg/eye-open.svg b/src/icons/svg/eye-open.svg
new file mode 100644
index 0000000..b400e4b
--- /dev/null
+++ b/src/icons/svg/eye-open.svg
@@ -0,0 +1 @@
+
diff --git a/src/icons/svg/eye.svg b/src/icons/svg/eye.svg
new file mode 100644
index 0000000..16ed2d8
--- /dev/null
+++ b/src/icons/svg/eye.svg
@@ -0,0 +1 @@
+
\ No newline at end of file
diff --git a/src/icons/svg/password.svg b/src/icons/svg/password.svg
new file mode 100644
index 0000000..e291d85
--- /dev/null
+++ b/src/icons/svg/password.svg
@@ -0,0 +1 @@
+
\ No newline at end of file
diff --git a/src/views/login/index.vue b/src/views/login/index.vue
index f7ed076..4c0d1a7 100644
--- a/src/views/login/index.vue
+++ b/src/views/login/index.vue
@@ -6,7 +6,7 @@
-
+
@@ -17,7 +17,7 @@
v-model="loginForm.password"
name="password"
auto-complete="on"
- placeholder="password"
+ placeholder="请输入密码"
@keyup.enter.native="handleLogin" />
@@ -54,8 +54,8 @@ export default {
}
return {
loginForm: {
- username: 'admin',
- password: '123456'
+ username: '',
+ password: ''
},
loginRules: {
username: [{ required: true, trigger: 'blur', validator: validateUsername }],