From 2d4abadfa89320ed00bd06f927d7b74acbc8c71d Mon Sep 17 00:00:00 2001 From: xing Date: Tue, 16 Jun 2020 11:26:06 +0800 Subject: [PATCH] =?UTF-8?q?=E8=A1=A8=E5=8D=95=E9=87=8D=E7=BD=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/Login.vue | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/src/components/Login.vue b/src/components/Login.vue index 2c9dae1..cfa3c60 100644 --- a/src/components/Login.vue +++ b/src/components/Login.vue @@ -4,7 +4,7 @@
logo
- + @@ -40,6 +40,11 @@ export default { ] } } + }, + methods: { + reset () { + this.$refs.loginFormRef.resetFields() + } } }