From 1cd30558ff5b49bb8dab1ce447c85932dcd96d72 Mon Sep 17 00:00:00 2001 From: Hykilpikonna Date: Mon, 19 Aug 2019 13:22:11 +0800 Subject: [PATCH] [+] Add onclick method to the login button --- src/components/login/login.ts | 8 ++++++++ src/components/login/login.vue | 2 +- 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/src/components/login/login.ts b/src/components/login/login.ts index 1e3c6bc..61fa51d 100644 --- a/src/components/login/login.ts +++ b/src/components/login/login.ts @@ -7,4 +7,12 @@ export default class Login extends Vue { public username: any = ''; public password: any = ''; + + /** + * On click + */ + public onLoginClick() + { + + } } diff --git a/src/components/login/login.vue b/src/components/login/login.vue index b57911e..96750bb 100644 --- a/src/components/login/login.vue +++ b/src/components/login/login.vue @@ -2,7 +2,7 @@
- Login + Login