mirror of
https://gitee.com/baidu/amis.git
synced 2024-12-02 12:08:13 +08:00
fix: 修正ts报错
Change-Id: I70d74f7390ba5fd50373af5ab1aeb544666ae877
This commit is contained in:
parent
526d911885
commit
d297a66f1c
@ -47,7 +47,7 @@ interface EventControlProps extends FormControlProps {
|
|||||||
) => void;
|
) => void;
|
||||||
addBroadcast?: (event: RendererPluginEvent) => void;
|
addBroadcast?: (event: RendererPluginEvent) => void;
|
||||||
removeBroadcast?: (eventName: string) => void;
|
removeBroadcast?: (eventName: string) => void;
|
||||||
getComponents: (action: RendererPluginAction) => ComponentInfo[]; // 当前页面组件树
|
getComponents: (action: any) => ComponentInfo[]; // 当前页面组件树
|
||||||
getContextSchemas?: (id?: string, withoutSuper?: boolean) => DataSchema; // 获取上下文
|
getContextSchemas?: (id?: string, withoutSuper?: boolean) => DataSchema; // 获取上下文
|
||||||
actionConfigInitFormatter?: (actionConfig: ActionConfig) => ActionConfig; // 动作配置初始化时格式化
|
actionConfigInitFormatter?: (actionConfig: ActionConfig) => ActionConfig; // 动作配置初始化时格式化
|
||||||
actionConfigSubmitFormatter?: (actionConfig: ActionConfig) => ActionConfig; // 动作配置提交时格式化
|
actionConfigSubmitFormatter?: (actionConfig: ActionConfig) => ActionConfig; // 动作配置提交时格式化
|
||||||
|
@ -49,7 +49,7 @@ export interface Validator {
|
|||||||
/**
|
/**
|
||||||
* 快速编辑的表单
|
* 快速编辑的表单
|
||||||
*/
|
*/
|
||||||
schema?: SchemaObject[];
|
schema?: any[];
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 输入类型,true则表示是默认
|
* 输入类型,true则表示是默认
|
||||||
|
Loading…
Reference in New Issue
Block a user