mirror of
https://gitee.com/nocobase/nocobase.git
synced 2024-12-04 21:28:34 +08:00
fix: sub-table loading
This commit is contained in:
parent
b8b5940205
commit
d7dbad1ba8
@ -27,6 +27,8 @@ import Field from '@/components/views/Field';
|
|||||||
import { Form } from './Form';
|
import { Form } from './Form';
|
||||||
import { View } from './';
|
import { View } from './';
|
||||||
|
|
||||||
|
export const icon = <LoadingOutlined style={{ fontSize: 36 }} spin />;
|
||||||
|
|
||||||
export function Details(props) {
|
export function Details(props) {
|
||||||
const {
|
const {
|
||||||
onValueChange,
|
onValueChange,
|
||||||
@ -288,6 +290,11 @@ export function SubTable(props: any) {
|
|||||||
/>
|
/>
|
||||||
<ReactDragListView {...dragProps}>
|
<ReactDragListView {...dragProps}>
|
||||||
<AntdTable
|
<AntdTable
|
||||||
|
loading={{
|
||||||
|
spinning: loading,
|
||||||
|
size: 'large',
|
||||||
|
indicator: icon,
|
||||||
|
}}
|
||||||
rowKey={rowKey}
|
rowKey={rowKey}
|
||||||
dataSource={dataSource}
|
dataSource={dataSource}
|
||||||
size={size}
|
size={size}
|
||||||
|
Loading…
Reference in New Issue
Block a user