Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
phsl
/
admin
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Members
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
ffd2b5b8
authored
Mar 28, 2023
by
gexinzhineng/gxzn27
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
系统管理/租户管理/租户列表新增时账号额度默认为1
用户管理不选择性别 修改时选择框为0
parent
90959702
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
1 deletions
+6
-1
src/views/system/tenant/tenant.data.ts
+5
-1
src/views/system/user/index.vue
+1
-0
No files found.
src/views/system/tenant/tenant.data.ts
View file @
ffd2b5b8
...
...
@@ -143,7 +143,11 @@ const crudSchemas = reactive<VxeCrudSchema>({
}
},
form
:
{
component
:
'InputNumber'
component
:
'InputNumber'
,
value
:
null
,
componentProps
:
{
min
:
0
}
}
},
{
...
...
src/views/system/user/index.vue
View file @
ffd2b5b8
...
...
@@ -394,6 +394,7 @@ const handleUpdate = async (rowId: number) => {
unref
(
formRef
)?.
delSchema
(
'password'
)
// 设置数据
const
res
=
await
UserApi
.
getUserApi
(
rowId
)
if
(
res
.
sex
==
0
)
res
.
sex
=
null
unref
(
formRef
)?.
setValues
(
res
)
}
const
detailData
=
ref
()
...
...
Write
Preview
Markdown
is supported
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