mirror of
https://git.meshkee.com/cssd/cssd-back.git
synced 2026-10-13 18:21:16 +03:30
send Api Ok
This commit is contained in:
@@ -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});
|
||||
// }
|
||||
}
|
||||
}
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user