会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
雨小木的学习记录
博客园
首页
新随笔
联系
订阅
管理
上一页
1
2
3
4
5
6
7
8
9
···
16
下一页
2020年8月9日
react 改变大数组内容
摘要: const tabsData=[...this.state.tabsData] this.setState({ tabsData: tabsData.map((o,index)=> index == this.activeKey?{...o,num:Math.random()*10}:o) })
阅读全文
posted @ 2020-08-09 19:14 lipu1993
阅读(286)
评论(0)
推荐(0)
2020年8月7日
tabs 加角标
摘要: <Tabs className={styles.tabs} activeKey={`${activeTab}`} onChange={tab => { this.setState({ activeTab: tab }); }} > {tabsData.map((o, index) => ( <Tab
阅读全文
posted @ 2020-08-07 20:06 lipu1993
阅读(791)
评论(0)
推荐(0)
2020年8月6日
table 的去页脚使用方法
摘要: <Table rowKey="id" checkable dataSource={reImportList} columns={this.getColumns()} selectedRowKeys={selectedRowKeys} paginationProps={{ showPagination
阅读全文
posted @ 2020-08-06 20:28 lipu1993
阅读(196)
评论(0)
推荐(0)
git上传 方法
摘要: lipu@lipudeMacBook-Air ZSmartSafeWeb % git add --all lipu@lipudeMacBook-Air ZSmartSafeWeb % git commit -m "采集传输安全管理"
阅读全文
posted @ 2020-08-06 20:25 lipu1993
阅读(69)
评论(0)
推荐(0)
2020年8月5日
批量删除
摘要: let a=data let b=[1,2,3] for(let i = 0; i < a.length;i++){ for(let s = 0; s<b.length;s++){ if(a[i].id == b[s]){ a.splice(i,1) } } }
阅读全文
posted @ 2020-08-05 22:52 lipu1993
阅读(126)
评论(0)
推荐(0)
2020年8月3日
下载模版
摘要: //下载模版 downLoadTemplate = () => { downloadFile('smartsafe/DatColWhiteListController/getTemplate', {}); }; ////////////////////////////////////////////
阅读全文
posted @ 2020-08-03 17:25 lipu1993
阅读(61)
评论(0)
推荐(0)
antd Upload的使用
摘要: //导入模版 handleUploadFile = info => { const { status, response } = info.file; const { pageIndex, pageSize, queryValue } = this.state if ( status 'done'
阅读全文
posted @ 2020-08-03 17:22 lipu1993
阅读(2439)
评论(0)
推荐(0)
2020年8月1日
table 的使用方法
摘要: <Table rowKey="whiteListId" checkable loading={loading} dataSource={list} pagination={pageInfo} columns={this.getColumns()} onChange={(pageIndex,pageS
阅读全文
posted @ 2020-08-01 11:55 lipu1993
阅读(291)
评论(0)
推荐(0)
2020年7月24日
标题前点的制作
摘要: { dataIndex: 'state', title: formatMessage({ id: 'approval.status', defaultMessage: '审批状态' }), render:state=> { const obj = APPROVAL_STATES.find(o =>
阅读全文
posted @ 2020-07-24 17:29 lipu1993
阅读(117)
评论(0)
推荐(0)
插件multiBtnList的使用
摘要: <Pagination pagination={pagination} pageAllCount={list.length} selectKeysList={selectedRowKeys} selectAllChange={e => this.handleSelectAll(e.target.ch
阅读全文
posted @ 2020-07-24 10:04 lipu1993
阅读(174)
评论(0)
推荐(0)
上一页
1
2
3
4
5
6
7
8
9
···
16
下一页
公告