[+] Add onclick method to the login button
This commit is contained in:
@@ -7,4 +7,12 @@ export default class Login extends Vue
|
|||||||
{
|
{
|
||||||
public username: any = '';
|
public username: any = '';
|
||||||
public password: any = '';
|
public password: any = '';
|
||||||
|
|
||||||
|
/**
|
||||||
|
* On click
|
||||||
|
*/
|
||||||
|
public onLoginClick()
|
||||||
|
{
|
||||||
|
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -2,7 +2,7 @@
|
|||||||
<div id="login">
|
<div id="login">
|
||||||
<el-input v-model="username" placeholder="School Username"></el-input>
|
<el-input v-model="username" placeholder="School Username"></el-input>
|
||||||
<el-input v-model="password" placeholder="Veracross Password" show-password=""></el-input>
|
<el-input v-model="password" placeholder="Veracross Password" show-password=""></el-input>
|
||||||
<el-button plain type="primary">Login</el-button>
|
<el-button plain type="primary" @click="onLoginClick">Login</el-button>
|
||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user