注册成功提示类型success

This commit is contained in:
RuoYi 2021-11-26 18:11:57 +08:00
parent ea71c9b214
commit 89e7cb19b9
1 changed files with 2 additions and 1 deletions

View File

@ -127,7 +127,8 @@ export default {
register(this.registerForm).then(res => {
const username = this.registerForm.username;
this.$alert("<font color='red'>恭喜你,您的账号 " + username + " 注册成功!</font>", '系统提示', {
dangerouslyUseHTMLString: true
dangerouslyUseHTMLString: true,
type: 'success'
}).then(() => {
this.$router.push("/login");
}).catch(() => {});