mirror of
https://gitee.com/nocobase/nocobase.git
synced 2024-12-03 20:58:01 +08:00
fix: custom request action should support linkage rule setting (#4410)
This commit is contained in:
parent
570a265e57
commit
a5ede09a2a
@ -1263,7 +1263,7 @@ export const SchemaSettingsLinkageRules = function LinkageRules(props) {
|
||||
const localVariables = useLocalVariables();
|
||||
const record = useRecord();
|
||||
const { type: formBlockType } = useFormBlockType();
|
||||
const type = props?.type || ['Action', 'Action.Link'].includes(fieldSchema['x-component']) ? 'button' : 'field';
|
||||
const type = props?.type || fieldSchema?.['x-action'] ? 'button' : 'field';
|
||||
const gridSchema = findGridSchema(fieldSchema) || fieldSchema;
|
||||
const schema = useMemo<ISchema>(
|
||||
() => ({
|
||||
|
Loading…
Reference in New Issue
Block a user