mirror of
https://git.meshkee.com/cssd/cssd-back.git
synced 2026-10-13 10:11:06 +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});
|
||||
// }
|
||||
}
|
||||
}
|
||||
};
|
||||
|
||||
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user