mirror of
https://git.meshkee.com/cssd/cssd-back.git
synced 2026-10-13 06:31:07 +03:30
Forgot Password
This commit is contained in:
@@ -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});
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user