From 7b016848bd37c31424e1c8e8a7c8ebdb69242b05 Mon Sep 17 00:00:00 2001 From: chenos Date: Mon, 21 Nov 2022 12:42:56 +0800 Subject: [PATCH] fix: bigInt --- .../Configuration/ConfigurationTable.tsx | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/packages/core/client/src/collection-manager/Configuration/ConfigurationTable.tsx b/packages/core/client/src/collection-manager/Configuration/ConfigurationTable.tsx index fb730f0b5..28b4ca81d 100644 --- a/packages/core/client/src/collection-manager/Configuration/ConfigurationTable.tsx +++ b/packages/core/client/src/collection-manager/Configuration/ConfigurationTable.tsx @@ -2,18 +2,18 @@ import { useForm } from '@formily/react'; import { action } from '@formily/reactive'; import { uid } from '@formily/shared'; import React, { useContext, useEffect, useRef, useState } from 'react'; +import { CollectionFieldsTable } from '.'; import { useRequest } from '../../api-client'; +import { useCurrentAppInfo } from '../../appInfo'; import { useRecord } from '../../record-provider'; import { SchemaComponent, SchemaComponentContext, useActionContext, useCompile } from '../../schema-component'; +import { useCancelAction, useUpdateCollectionActionAndRefreshCM } from '../action-hooks'; import { useCollectionManager } from '../hooks/useCollectionManager'; import { DataSourceContext } from '../sub-table'; import { AddSubFieldAction } from './AddSubFieldAction'; import { FieldSummary } from './components/FieldSummary'; import { EditSubFieldAction } from './EditSubFieldAction'; import { collectionSchema } from './schemas/collections'; -import { useCurrentAppInfo } from '../../appInfo'; -import { CollectionFieldsTable } from '.'; -import { useCancelAction, useUpdateCollectionActionAndRefreshCM } from '../action-hooks'; const useAsyncDataSource = (service: any) => (field: any) => { field.loading = true; @@ -39,7 +39,7 @@ const useCollectionValues = (options) => { fields: [ { name: 'id', - type: 'integer', + type: 'bigInt', autoIncrement: true, primaryKey: true, allowNull: false,