mirror of
https://gitee.com/nocobase/nocobase.git
synced 2024-12-03 12:47:44 +08:00
Merge branch 'main' into next
This commit is contained in:
commit
2ccfaf4f76
@ -26,6 +26,7 @@ import {
|
|||||||
useCollectionManager_deprecated,
|
useCollectionManager_deprecated,
|
||||||
useDesignable,
|
useDesignable,
|
||||||
useFormBlockContext,
|
useFormBlockContext,
|
||||||
|
useColumnSchema,
|
||||||
} from '@nocobase/client';
|
} from '@nocobase/client';
|
||||||
import _ from 'lodash';
|
import _ from 'lodash';
|
||||||
import { useMapTranslation } from '../locale';
|
import { useMapTranslation } from '../locale';
|
||||||
@ -71,6 +72,10 @@ export const defaultZoomLevel = {
|
|||||||
},
|
},
|
||||||
};
|
};
|
||||||
},
|
},
|
||||||
|
useVisible() {
|
||||||
|
const { fieldSchema: tableColumnSchema } = useColumnSchema();
|
||||||
|
return !tableColumnSchema;
|
||||||
|
},
|
||||||
};
|
};
|
||||||
|
|
||||||
export const mapBlockSettings = new SchemaSettings({
|
export const mapBlockSettings = new SchemaSettings({
|
||||||
|
Loading…
Reference in New Issue
Block a user