Commit 193076f6 by 郑杰

v1.1 版本发布,代码同步后端v1.1版本

parent 63e8714f
......@@ -60,7 +60,7 @@ export default {
loading: false, dialog: false, title: '修改邮箱', form: { pass: '', email: '', code: '' },
user: { email: '', password: '' }, codeLoading: false,
codeData: { type: 'email', value: '' },
buttonName: '获取验证码', isDisabled: false, time: 5,
buttonName: '获取验证码', isDisabled: false, time: 60,
rules: {
pass: [
{ required: true, validator: validatePass, trigger: 'blur' }
......@@ -98,7 +98,7 @@ export default {
--_this.time
if (_this.time < 0) {
_this.buttonName = '重新发送'
_this.time = 5
_this.time = 60
_this.isDisabled = false
window.clearInterval(_this.timer)
}
......@@ -136,7 +136,7 @@ export default {
this.dialog = false
this.$refs['form'].resetFields()
window.clearInterval(this.timer)
this.time = 5
this.time = 60
this.buttonName = '获取验证码'
this.isDisabled = false
this.form = { pass: '', email: '', code: '' }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment