diff --git a/packages/amis-ui/src/components/formula/Input.tsx b/packages/amis-ui/src/components/formula/Input.tsx index 07e36487d..ee9927675 100644 --- a/packages/amis-ui/src/components/formula/Input.tsx +++ b/packages/amis-ui/src/components/formula/Input.tsx @@ -105,33 +105,6 @@ const FormulaInput: React.FC = props => { ['onChange'] ); - const FormulaCmpt = ({value}: {value: string}) => { - return ( - { - return ( -
- ); - }} - onResultChange={noop} - onChange={pipOutValue} - onClear={() => pipOutValue(undefined)} - clearable={true} - /> - ); - }; - let cmptValue = pipInValue(value ?? inputSettings.defaultValue); /** 数据来源可能是从 query中下发的(CRUD查询表头),导致数字或者布尔值被转为 string 格式,这里预处理一下 */ @@ -177,7 +150,7 @@ const FormulaInput: React.FC = props => { return (