mirror of
https://gitee.com/y_project/RuoYi-Vue.git
synced 2026-02-06 10:25:06 +08:00
优化代码
This commit is contained in:
@ -128,7 +128,7 @@ export default {
|
||||
this.$refs.registerForm.validate(valid => {
|
||||
if (valid) {
|
||||
this.loading = true
|
||||
register(this.registerForm).then(res => {
|
||||
register(this.registerForm).then(() => {
|
||||
const username = this.registerForm.username
|
||||
this.$alert("<font color='red'>恭喜你,您的账号 " + username + " 注册成功!</font>", '系统提示', {
|
||||
dangerouslyUseHTMLString: true,
|
||||
|
||||
Reference in New Issue
Block a user