fix: remove unused import and meta display in TableModel

This commit is contained in:
Zeke Zhang 2025-06-23 12:16:35 +08:00
parent f0aca9a6c1
commit ca4bafc585

View File

@ -14,7 +14,6 @@ import { AddActionButton, AddFieldButton, FlowModelRenderer, MultiRecordResource
import { Card, Space, Spin, Table } from 'antd';
import classNames from 'classnames';
import _ from 'lodash';
import refresh from 'packages/core/server/src/commands/refresh';
import React, { useRef } from 'react';
import { ActionModel } from '../../base/ActionModel';
import { DataBlockModel } from '../../base/BlockModel';
@ -172,7 +171,6 @@ export class TableModel extends DataBlockModel<S> {
render() {
return (
<Card>
{this.resource.getMeta('pageSize')}
<Spin spinning={this.resource.loading}>
<Space style={{ marginBottom: 16 }}>
{this.mapSubModels('actions', (action) => (