style(DeviceManagement): 调整批量删除按钮样式以使用主题属性
This commit is contained in:
@@ -1356,6 +1356,8 @@ function DeviceManagement() {
|
|||||||
批量删除 ({selectedDevices.length})
|
批量删除 ({selectedDevices.length})
|
||||||
</Button>
|
</Button>
|
||||||
<Button
|
<Button
|
||||||
|
type="primary"
|
||||||
|
danger
|
||||||
style={{
|
style={{
|
||||||
height: '36px',
|
height: '36px',
|
||||||
borderRadius: designTokens.borderRadius.small,
|
borderRadius: designTokens.borderRadius.small,
|
||||||
@@ -1364,9 +1366,6 @@ function DeviceManagement() {
|
|||||||
display: 'inline-flex',
|
display: 'inline-flex',
|
||||||
alignItems: 'center',
|
alignItems: 'center',
|
||||||
gap: '6px',
|
gap: '6px',
|
||||||
background: designTokens.colors.error.main,
|
|
||||||
border: 'none',
|
|
||||||
color: '#ffffff',
|
|
||||||
}}
|
}}
|
||||||
icon={<DeleteOutlined />}
|
icon={<DeleteOutlined />}
|
||||||
onClick={handleDeleteAll}
|
onClick={handleDeleteAll}
|
||||||
|
|||||||
Reference in New Issue
Block a user