This commit is contained in:
徐哼唧L
2022-12-09 16:18:12 +08:00
parent dc4d87a990
commit 5ed3073b6e
130 changed files with 41608 additions and 2013 deletions

View File

@@ -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'
});
});
}