|
@@ -11,7 +11,7 @@
|
|
|
<div class="page-part">
|
|
<div class="page-part">
|
|
|
<mt-button :disabled="hasSend" size="large"
|
|
<mt-button :disabled="hasSend" size="large"
|
|
|
type="primary"
|
|
type="primary"
|
|
|
- @click="sureAccount('select')"
|
|
|
|
|
|
|
+ @click="sureAccount()"
|
|
|
v-text="secretEmail">发送验证请求</mt-button>
|
|
v-text="secretEmail">发送验证请求</mt-button>
|
|
|
</div>
|
|
</div>
|
|
|
</div>
|
|
</div>
|
|
@@ -50,13 +50,12 @@
|
|
|
})
|
|
})
|
|
|
},
|
|
},
|
|
|
// 发送邮件
|
|
// 发送邮件
|
|
|
- sureAccount (type) {
|
|
|
|
|
|
|
+ sureAccount () {
|
|
|
this.$indicator.open('发送过程中...')
|
|
this.$indicator.open('发送过程中...')
|
|
|
this.$http.get(`/sso/resetPwd/check/email`)
|
|
this.$http.get(`/sso/resetPwd/check/email`)
|
|
|
.then(response => {
|
|
.then(response => {
|
|
|
this.$indicator.close()
|
|
this.$indicator.close()
|
|
|
if (response.data.success) {
|
|
if (response.data.success) {
|
|
|
- this.$emit('stepEvent', type)
|
|
|
|
|
this.hasSend = true
|
|
this.hasSend = true
|
|
|
this.secretEmail = '已发送验证邮件,请查收'
|
|
this.secretEmail = '已发送验证邮件,请查收'
|
|
|
} else {
|
|
} else {
|