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
JSH ERP
Commits
3197598b
Commit
3197598b
authored
Jul 04, 2022
by
季圣华
Browse files
优化用户保存时候的用户名重复的校验
parent
dc479b91
Changes
1
Hide whitespace changes
Inline
Side-by-side
jshERP-web/src/views/system/modules/UserModal.vue
View file @
3197598b
...
@@ -159,14 +159,13 @@
...
@@ -159,14 +159,13 @@
obj
.
then
((
res
)
=>
{
obj
.
then
((
res
)
=>
{
if
(
res
.
code
===
200
){
if
(
res
.
code
===
200
){
that
.
$emit
(
'
ok
'
);
that
.
$emit
(
'
ok
'
);
that
.
close
();
}
else
{
}
else
{
that
.
$message
.
warning
(
res
.
data
.
message
);
that
.
$message
.
warning
(
res
.
data
.
message
);
}
}
}).
finally
(()
=>
{
}).
finally
(()
=>
{
that
.
confirmLoading
=
false
;
that
.
confirmLoading
=
false
;
that
.
close
();
})
})
}
}
})
})
},
},
...
...
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