fix: Cookie批量删除路由顺序修正(/batch必须在/{task_id}前)+ Statistic valueStyle改为styles.content
This commit is contained in:
@@ -207,12 +207,12 @@ export default function AssignmentsPage() {
|
||||
</Col>
|
||||
<Col span={6}>
|
||||
<Card size="small">
|
||||
<Statistic title="已分配" value={assignedCount} valueStyle={{ color: token.colorSuccess }} prefix={<CheckCircleOutlined />} />
|
||||
<Statistic title="已分配" value={assignedCount} styles={{ content: { color: token.colorSuccess } }} prefix={<CheckCircleOutlined />} />
|
||||
</Card>
|
||||
</Col>
|
||||
<Col span={6}>
|
||||
<Card size="small">
|
||||
<Statistic title="未分配" value={unassignedCount} valueStyle={{ color: token.colorError }} prefix={<SwapOutlined />} />
|
||||
<Statistic title="未分配" value={unassignedCount} styles={{ content: { color: token.colorError } }} prefix={<SwapOutlined />} />
|
||||
</Card>
|
||||
</Col>
|
||||
<Col span={6}>
|
||||
|
||||
@@ -255,7 +255,7 @@ export default function CookiePage() {
|
||||
<Statistic
|
||||
title="已分配"
|
||||
value={assignedCount}
|
||||
valueStyle={{ color: token.colorSuccess }}
|
||||
styles={{ content: { color: token.colorSuccess } }}
|
||||
/>
|
||||
</Card>
|
||||
</Col>
|
||||
@@ -264,7 +264,7 @@ export default function CookiePage() {
|
||||
<Statistic
|
||||
title="未分配"
|
||||
value={unassignedCount}
|
||||
valueStyle={{ color: token.colorError }}
|
||||
styles={{ content: { color: token.colorError } }}
|
||||
/>
|
||||
</Card>
|
||||
</Col>
|
||||
|
||||
@@ -35,12 +35,12 @@ export default function DashboardPage() {
|
||||
</Col>
|
||||
<Col span={6}>
|
||||
<Card>
|
||||
<Statistic title="成功" value={stats.success} valueStyle={{ color: token.colorSuccess }} />
|
||||
<Statistic title="成功" value={stats.success} styles={{ content: { color: token.colorSuccess } }} />
|
||||
</Card>
|
||||
</Col>
|
||||
<Col span={6}>
|
||||
<Card>
|
||||
<Statistic title="失败" value={stats.failed} valueStyle={{ color: token.colorError }} />
|
||||
<Statistic title="失败" value={stats.failed} styles={{ content: { color: token.colorError } }} />
|
||||
</Card>
|
||||
</Col>
|
||||
</Row>
|
||||
|
||||
Reference in New Issue
Block a user