@@ -48,7 +48,8 @@
|
||||
style="width: 100%"
|
||||
:disabled="sendDisabled"
|
||||
@click="handleSendCode"
|
||||
>{{ sendTitle }}</el-button
|
||||
>{{ this.$t('trials:researchForm:button:send')
|
||||
}}{{ count || count === 0 ? `(${count}s)` : '' }}</el-button
|
||||
>
|
||||
</el-col>
|
||||
</el-form-item>
|
||||
@@ -314,6 +315,7 @@ export default {
|
||||
this.sendTitle = this.$t('trials:researchForm:button:send')
|
||||
clearInterval(this.timer)
|
||||
this.timer = null
|
||||
this.count = null
|
||||
}
|
||||
}, 1000)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user