0
This commit is contained in:
@@ -91,7 +91,7 @@
|
||||
console.log(err);
|
||||
});
|
||||
} else {
|
||||
this.$message.error('请输入正确的账号和密码');
|
||||
this.$message.error('Please enter the correct account and password!');
|
||||
console.log('error submit!!');
|
||||
return false;
|
||||
}
|
||||
@@ -105,11 +105,11 @@
|
||||
this.param.image = this.baseUrl + 'api/User/retrieveCaptcha?a=' + this.param.random_num;
|
||||
},
|
||||
open() {
|
||||
var content = '将有一封邮件发送到您的邮箱:' + this.email + ',后续操作将在邮件内进行。';
|
||||
this.$confirm(content, '确认信息', {
|
||||
var content = 'A letter about finding your password will be sent to your email:' + this.email + ',please complete the next steps in the email.';
|
||||
this.$confirm(content, 'Tips', {
|
||||
distinguishCancelAndClose: true,
|
||||
confirmButtonText: '确认发送',
|
||||
cancelButtonText: '放弃'
|
||||
confirmButtonText: 'OK',
|
||||
cancelButtonText: 'Cancel'
|
||||
})
|
||||
.then(() => {
|
||||
this.$api
|
||||
@@ -121,7 +121,7 @@
|
||||
if (res.code == 0) {
|
||||
this.$message({
|
||||
type: 'success',
|
||||
message: '发送成功'
|
||||
message: 'Sent successfully!'
|
||||
});
|
||||
this.$router.push('/');
|
||||
} else {
|
||||
@@ -138,7 +138,7 @@
|
||||
.catch(action => {
|
||||
this.$message({
|
||||
type: 'info',
|
||||
message: action === 'cancel' ? '放弃保存并离开页面' : '停留在当前页面'
|
||||
message: action === 'cancel' ? 'Discard save and leave the page' : 'Stay on the current pages'
|
||||
});
|
||||
});
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user