fix:[FL-202][ATP模型管理改造] 将loading显示位置从右上角移至列表
- 移除右上角的 Spin 组件 - 表格 loading 状态改为 assetsQuery.isLoading || assetsQuery.isFetching - 对齐用户管理页面的 loading 显示方式 Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com> Co-authored-by: multica-agent <github@multica.ai>
This commit is contained in:
@@ -600,8 +600,6 @@ export default function AtpModelsPage() {
|
||||
className="admin-atp-models-page-card"
|
||||
title="ATP 模型管理"
|
||||
extra={
|
||||
<Space>
|
||||
{assetsQuery.isFetching && <Spin size="small" />}
|
||||
<Button
|
||||
type="primary"
|
||||
disabled={!canManage}
|
||||
@@ -609,7 +607,6 @@ export default function AtpModelsPage() {
|
||||
>
|
||||
新建模型
|
||||
</Button>
|
||||
</Space>
|
||||
}
|
||||
>
|
||||
{viewMode === "card" ? (
|
||||
@@ -644,7 +641,7 @@ export default function AtpModelsPage() {
|
||||
>
|
||||
<Table<AtpAssetSummary>
|
||||
rowKey="id"
|
||||
loading={assetsQuery.isLoading}
|
||||
loading={assetsQuery.isLoading || assetsQuery.isFetching}
|
||||
columns={columns}
|
||||
dataSource={assetItems}
|
||||
tableLayout="fixed"
|
||||
|
||||
Reference in New Issue
Block a user