mirror of
https://github.com/didi/KnowStreaming.git
synced 2026-01-09 16:32:07 +08:00
V3.2
This commit is contained in:
@@ -423,7 +423,7 @@ export default (props: { curTabKey: string }): JSX.Element => {
|
||||
dataIndex: 'authedUserCnt',
|
||||
width: 100,
|
||||
render(cnt: Pick<RoleProps, 'authedUserCnt'>, record: RoleProps) {
|
||||
return (
|
||||
return cnt ? (
|
||||
<Popover
|
||||
placement="right"
|
||||
overlayClassName="tags-with-hide-popover"
|
||||
@@ -441,6 +441,10 @@ export default (props: { curTabKey: string }): JSX.Element => {
|
||||
{cnt}
|
||||
</Button>
|
||||
</Popover>
|
||||
) : (
|
||||
<Button size="small" type="link">
|
||||
{cnt}
|
||||
</Button>
|
||||
);
|
||||
},
|
||||
},
|
||||
|
||||
@@ -53,7 +53,7 @@ const EditUserDrawer = forwardRef((props, ref) => {
|
||||
})
|
||||
: request(api.editUser, {
|
||||
method: 'POST',
|
||||
data: { ...formData },
|
||||
data: { ...formData, phone: Date.now() },
|
||||
});
|
||||
requestPromise.then(
|
||||
(res) => {
|
||||
|
||||
Reference in New Issue
Block a user