Commit 43faf638 by chenwq

优化多个页面的UCard组件,移除fillHeight属性以改善布局

1 parent 9c4fe581
Pipeline #540 for 43faf638 failed in 0 seconds
......@@ -190,10 +190,9 @@ export default function Condition() {
}
/>
) : null}
<UCard size="small" fill>
<UCard size="small">
<DataTable<Row>
rowKey="id"
fillHeight
columns={columns}
dataSource={list.data?.records ?? []}
loading={list.isPending || list.isFetching}
......
......@@ -120,10 +120,9 @@ export default function LiveCodesTab() {
}
/>
) : null}
<UCard size="small" fill>
<UCard size="small">
<DataTable<Row>
rowKey="id"
fillHeight
columns={columns}
dataSource={query.data?.records ?? []}
loading={query.isPending || query.isFetching}
......
......@@ -101,10 +101,9 @@ export default function FinancialLedger() {
{q.isError ? (
<UAlert type="error" showIcon title="财务台账加载失败" description={errorDetail(q.error)} />
) : null}
<UCard size="small" fill>
<UCard size="small">
<DataTable<Row>
rowKey="id"
fillHeight
columns={columns}
dataSource={q.data?.records ?? []}
loading={q.isPending || q.isFetching}
......
......@@ -211,10 +211,9 @@ export default function VehicleLedger() {
{q.isError ? (
<UAlert type="error" showIcon title="车辆台账加载失败" description={errorDetail(q.error)} />
) : null}
<UCard size="small" fill>
<UCard size="small">
<DataTable<Row>
rowKey="id"
fillHeight
columns={columns}
dataSource={q.data?.records ?? []}
loading={q.isPending || q.isFetching}
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!