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
d47c9afe
Commit
d47c9afe
authored
Sep 05, 2021
by
季圣华
Browse files
解决添加租户的bug
parent
c39752dd
Changes
1
Hide whitespace changes
Inline
Side-by-side
jshERP-web/src/views/system/modules/TenantModal.vue
View file @
d47c9afe
...
...
@@ -35,6 +35,7 @@
import
pick
from
'
lodash.pick
'
import
{
registerUser
,
editTenant
,
checkTenant
}
from
'
@/api/api
'
import
JDate
from
'
@/components/jeecg/JDate
'
import
md5
from
'
md5
'
export
default
{
name
:
"
TenantModal
"
,
components
:
{
...
...
@@ -94,7 +95,7 @@
let
formData
=
Object
.
assign
(
this
.
model
,
values
);
let
obj
;
if
(
!
this
.
model
.
id
){
formData
.
password
=
'
123456
'
formData
.
password
=
md5
(
'
123456
'
)
obj
=
registerUser
(
formData
);
}
else
{
obj
=
editTenant
(
formData
);
...
...
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