InputFormula 公式编辑器 添加clearDefaultFormula 属性,可清除默认函数 #6522
Annotations
5 errors and 2 warnings
packages/amis-editor/src/renderer/DataPickerControl.tsx#L1
Property 'clearDefaultFormula' is missing in type '{ children: ({ onClick }: { onClick: (e: MouseEvent<Element, MouseEvent>) => void; }) => Element; onPickerOpen: () => Promise<{ variables: any; variableMode: string; }>; ... 63 more ...; showErrorMsg?: boolean | undefined; }' but required in type 'Readonly<OuterProps>'.
|
packages/amis-editor/src/renderer/ExpressionFormulaControl.tsx#L1
No overload matches this call.
|
packages/amis-editor/src/renderer/textarea-formula/FormulaPicker.tsx#L1
Property 'clearDefaultFormula' is missing in type '{ header: string; variables: any[]; variableMode: "tree" | "tabs" | undefined; value: string; evalMode: boolean; onChange: (data: any) => void; onConfirm: (data: string) => void; onClose: () => void; initable?: boolean | undefined; }' but required in type 'Readonly<Omit<Pick<Omit<FormulaEditorProps, keyof LocaleProps>, "className" | "classnames" | "value" | "variableMode" | "header" | "style" | ... 9 more ... | "editorOptions"> & { ...; } & { ...; }, keyof ThemeProps> & ThemeOutterProps>'.
|
packages/amis-ui/src/components/condition-builder/GroupOrItem.tsx#L1
Type '{ children: ({ onClick }: { onClick: (e: MouseEvent<Element, MouseEvent>) => void; setState: (state: any) => void; isOpened: boolean; }) => Element; ... 39 more ...; editorOptions?: any; }' is not assignable to type 'Readonly<OuterProps>'.
|
|
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, actions/setup-node@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
|
|
The logs for this run have expired and are no longer available.
Loading