send Api Ok

This commit is contained in:
saeid_01
2019-04-16 11:18:38 +04:30
parent 4c286bfbc0
commit 655d6bf800
29 changed files with 5100 additions and 3358 deletions
+8 -4
View File
@@ -40,7 +40,7 @@
</v-form>
</template>
<script>
import { mapGetters, mapActions } from "vuex";
import { mapActions, mapMutations } from "vuex";
export default {
data() {
return {
@@ -51,11 +51,15 @@ export default {
...mapActions('auth', [
'forgotPassword'
]),
...mapMutations('modal', [
'changeCurrentModal'
]),
handleSubmit() {
this.changeCurrentModal({modal: 'modal-auth-verify-code'});
// Perform a simple validation that cell_number and password have been typed in
if (this.cell_number != '') {
this.forgotPassword({cell_number: this.cell_number});
}
// if (this.cell_number != '') {
// this.forgotPassword({cell_number: this.cell_number});
// }
}
}
};