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});
// }
}
}
};
+1 -1
View File
@@ -39,7 +39,7 @@
<router-link class="black--text" to="register">
<v-btn class="WM-NoShadow WM-Outline-Btn WM-Border WM-Border-Black">
<v-icon class="black--text mr-2 caption">fas fa-plus</v-icon>
<span >Register</span>
<span class="black--text">Register</span>
</v-btn>
</router-link>
</v-flex>