1.1.1 • Published 1 year ago

plus-detail v1.1.1

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

use plus-detail

install

cnpm i plus-detail --save

use

const App = ()=>{
  return (
    <PlusDetail<CurrentItem>
      initialValues={currentItem}
      labelWidth={130}
      list={[
        {
          width: 100,
          title: '机构、队伍名称',
          dataIndex: 'name',
        },
        {
          width: 100,
          title: '机构、队伍类型',
          dataIndex: 'teamType',
          dictType: 'TEAM_TYPE',
        },
        {
          title: '所属区域',
          dataIndex: 'oid',
          isOrgName: true,
        },
      ]}
    />
  );
}
export default App;

更新记录

1.0.0 (2022.10.25) 1.初始化

1.0.1 (2022.10.26) 1.解决dataIndex重复问题 2.添加配置,当list>=6时默认显示两列