Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
jinli gu
RuoYi Vue
Commits
89e7cb19
Commit
89e7cb19
authored
Nov 26, 2021
by
RuoYi
Browse files
注册成功提示类型success
parent
ea71c9b2
Changes
1
Hide whitespace changes
Inline
Side-by-side
ruoyi-ui/src/views/register.vue
View file @
89e7cb19
...
@@ -127,7 +127,8 @@ export default {
...
@@ -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
(()
=>
{});
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment