1.1.1 • Published 1 year ago

plus-form v1.1.1

Weekly downloads
-
License
MIT
Repository
github
Last release
1 year ago

use plus-form

install

cnpm i plus-form --save

use

const App = ()=>{
  const [form] = Form.useForm();
  return (
    <PlusForm<CurrentItem>
      form={form}
      list={[
        { label: '所属区域', name: 'oid', orgSelect: true, width: 100 },
        { label: '机构队伍类型', name: 'teamType', dictSelect: 'TEAM_TYPE' },
        { label: '机构名称', name: 'name', view: <Input /> },
      ]}
    />
  );
}
export default App;

更新记录

1.0.2 (2022.11.01) 1.参数Form.Item->isShow 去除传入未知属性

1.0.1 (2022.10.27) 1.修改orgSelect、dictSelect传入方式 2.添加配置,当list>=6时默认显示两列,显示两列以上时默认labelType为vertical

1.0.0 (2022.10.25) 1.初始化