update show label

This commit is contained in:
Fayyazi
2019-11-24 09:27:24 +03:30
parent b81ec9326f
commit 94d1bda083
2 changed files with 30 additions and 26 deletions
+2 -2
View File
@@ -82,9 +82,9 @@ export default {
]),
async handleSubmit() {
// Perform a simple validation that cell_number and password have been typed in
if (this.$refs.form.validate()) {
if (this.$refs.form.validate()) {
const response = await this.login({cell_number: this.cell_number, password: this.password});
if (!response.status || response.status !== 200) {
this.password = "";
}