fix: 删除CabinetGrid重复的设备列表标题
This commit is contained in:
parent
52e392f831
commit
42dd54a255
@ -8,7 +8,6 @@ import {
|
||||
Card,
|
||||
Grid,
|
||||
Tag,
|
||||
Typography,
|
||||
Spin,
|
||||
Empty,
|
||||
} from '@arco-design/web-react';
|
||||
@ -36,12 +35,6 @@ export default function CabinetGrid({ cabinets, loading }: CabinetGridProps) {
|
||||
|
||||
return (
|
||||
<>
|
||||
<div style={{ display: 'flex', alignItems: 'center', justifyContent: 'space-between', marginBottom: 16 }}>
|
||||
<Typography.Title heading={5} style={{ margin: 0 }}>
|
||||
设备列表 ({cabinets.length})
|
||||
</Typography.Title>
|
||||
</div>
|
||||
|
||||
{loading ? (
|
||||
<div style={{ textAlign: 'center', padding: '60px 0' }}><Spin dot /></div>
|
||||
) : cabinets.length === 0 ? (
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user