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 }],