1.0.0 • Published 5 years ago

table-with-custom-col v1.0.0

Weekly downloads
-
License
ISC
Repository
-
Last release
5 years ago

antd Table自定义列

安装

   npm install 

使用方式

    <TableWithCustomCol
                customColKey="govern/fake?key=17&tab=check"   //作为localstorage的key值
                leftActionBtns={   // table上的左边的按钮
                  <div>
                    <Button type="primary" disabled={!selectedRowKeys.length} onClick={this.onBatchHandle}>
                      批量处理
                    </Button>
                    <Divider type="vertical" />
                    <Button type="primary" disabled={!selectedRowKeys.length} onClick={() => this.onBatchSign(selectedRowKeys)}>
                      批量标记
                    </Button>
                  </div>
                }
              >
              <Table 
               ....
               >
   </TableWithCustomCol>