优化一些交互逻辑

This commit is contained in:
CaIon
2023-11-28 00:34:04 +08:00
parent 23dde53c37
commit 73adc31284
3 changed files with 25 additions and 45 deletions

View File

@@ -80,7 +80,6 @@ const UsersTable = () => {
<Popconfirm
title="确定?"
okType={'warning'}
position={'left'}
onConfirm={() => {
manageUser(record.username, 'promote', record)
}}
@@ -90,7 +89,6 @@ const UsersTable = () => {
<Popconfirm
title="确定?"
okType={'warning'}
position={'left'}
onConfirm={() => {
manageUser(record.username, 'demote', record)
}}