mirror of
https://github.com/zuiidea/antd-admin
synced 2026-10-21 23:23:43 +00:00
Merge branch '3.0' of github.com:zuiidea/antd-admin into 3.0
This commit is contained in:
@@ -13,6 +13,7 @@ const formItemLayout = {
|
||||
|
||||
const modal = ({
|
||||
visible,
|
||||
type,
|
||||
item = {},
|
||||
onOk,
|
||||
onCancel,
|
||||
@@ -36,7 +37,7 @@ const modal = ({
|
||||
}
|
||||
|
||||
const modalOpts = {
|
||||
title: '修改用户',
|
||||
title: `${type === 'create' ? '新建用户' : '修改用户'}`,
|
||||
visible,
|
||||
onOk: handleOk,
|
||||
onCancel,
|
||||
|
||||
Reference in New Issue
Block a user