mirror of
https://github.com/didi/KnowStreaming.git
synced 2026-01-09 00:14:30 +08:00
@@ -28,6 +28,7 @@ export const getUserColumns = () => {
|
||||
<span className="table-operation">
|
||||
<a onClick={() => showApplyModal(record)}>编辑</a>
|
||||
<a onClick={() => showApplyModalModifyPassword(record)}>修改密码</a>
|
||||
{record.username == users.currentUser.username ? "" :
|
||||
<Popconfirm
|
||||
title="确定删除?"
|
||||
onConfirm={() => users.deleteUser(record.username)}
|
||||
@@ -36,6 +37,7 @@ export const getUserColumns = () => {
|
||||
>
|
||||
<a>删除</a>
|
||||
</Popconfirm>
|
||||
}
|
||||
</span>);
|
||||
},
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user