注册成功提示类型success

pull/121/head
RuoYi 3 years ago
parent e2a7df4a2c
commit b1bc3ceb27

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

Loading…
Cancel
Save