plus-detail
TypeScript icon, indicating that this package has built-in type declarations

1.1.1 • Public • Published

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时默认显示两列

Readme

Keywords

Package Sidebar

Install

npm i plus-detail

Repository

github.com/

Weekly Downloads

1

Version

1.1.1

License

MIT

Unpacked Size

33.1 kB

Total Files

32

Last publish

Collaborators

  • wyz107635
  • awue