Browse Source

[WHAT] fix 忘記密碼顯示狀態 [WHY] 開發 ShowEasy 前台

秒數倒數時岸有狀態應為disable
Dev
Janie 2 years ago
parent
commit
7ccbbd5cbf
  1. 8
      FrontEnd/pages/user/forgot.vue

8
FrontEnd/pages/user/forgot.vue

@ -32,7 +32,6 @@
<div class="md:tw-flex md:tw-justify-center md:tw-items-center">
<button
@click="sendForgotMail"
:disabled="!resendValid"
:class="[
'tw-block tw-w-full tw-py-[10px] tw-rounded-[16px] tw-border tw-border-solid tw-body-3 tw-font-normal tw-transition-all tw-duration-200 tw-ease-in-out',
resendValid
@ -267,15 +266,15 @@ export default {
colseDialog(){
this.dialog = false;
if(this.dialog == false){
this.resendValid = true;
this.resendValid = false;
}
this.deleteDialog = false;
if(this.deleteDialog == false){
this.resendValid = true;
this.resendValid = false;
}
this.chackMailDialog = false;
if(this.chackMailDialog == false){
this.resendValid = true;
this.resendValid = false;
}
},
getPAth(){
@ -288,6 +287,7 @@ export default {
},
sendForgotMail() {
this.countdown = 60;
this.resendValid = false;
this.$axios
.post(`/trending/api/Signup/SendForgotMail?Email=${this.Email}`)
.then((response) => {

Loading…
Cancel
Save