mirror of
https://gitee.com/nocobase/nocobase.git
synced 2025-07-02 03:02:19 +08:00
Merge branch 'main' into next
This commit is contained in:
commit
538c00c6fc
@ -15,7 +15,7 @@ import { useRecord } from '../../../record-provider';
|
|||||||
import { useCompile } from '../../../schema-component';
|
import { useCompile } from '../../../schema-component';
|
||||||
import { useCollectionManager_deprecated } from '../../hooks';
|
import { useCollectionManager_deprecated } from '../../hooks';
|
||||||
|
|
||||||
const supportTypes = ['string', 'bigInt', 'integer', 'uuid', 'uid'];
|
const supportTypes = ['string', 'bigInt', 'integer', 'uuid', 'uid', 'nanoid'];
|
||||||
export const SourceForeignKey = observer(
|
export const SourceForeignKey = observer(
|
||||||
() => {
|
() => {
|
||||||
const record = useRecord();
|
const record = useRecord();
|
||||||
|
@ -14,7 +14,7 @@ import { useParams } from 'react-router-dom';
|
|||||||
import { useRecord, useCompile, useAPIClient, useCollectionManager_deprecated } from '@nocobase/client';
|
import { useRecord, useCompile, useAPIClient, useCollectionManager_deprecated } from '@nocobase/client';
|
||||||
import { useRemoteCollectionContext } from '../CollectionFields';
|
import { useRemoteCollectionContext } from '../CollectionFields';
|
||||||
|
|
||||||
const supportTypes = ['string', 'bigInt', 'integer', 'uuid', 'uid'];
|
const supportTypes = ['string', 'bigInt', 'integer', 'uuid', 'uid', 'nanoid'];
|
||||||
|
|
||||||
export const SourceKey = observer(
|
export const SourceKey = observer(
|
||||||
(props: any) => {
|
(props: any) => {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user