Forgot Password

This commit is contained in:
saeid_01
2019-05-04 08:48:32 +04:30
parent c288cee800
commit c0523d8c4c
19 changed files with 335 additions and 384 deletions
@@ -9,7 +9,7 @@
<v-layout row wrap class="px-3">
<v-flex xs12 md12 sm12>
<v-text-field
v-model="verifyCode"
v-model="form.code"
label="Verify Code Number"
color="black"
></v-text-field>
@@ -30,11 +30,13 @@
</v-form>
</template>
<script>
import { mapGetters, mapActions } from "vuex";
import { mapActions } from "vuex";
export default {
data() {
return {
verifyCode: "",
form: {
code: "",
}
};
},
methods: {
@@ -42,8 +44,8 @@ export default {
'verifyCodeSMS'
]),
submitVerifyCode() {
if (this.verifyCode != '') {
this.verifyCodeSMS({verifyCode: this.verifyCode});
if (this.form.code != '') {
this.verifyCodeSMS({form: this.form});
}
}
}