上一页 1 2 3 4 5 6 7 ··· 16 下一页
摘要: 阅读全文
posted @ 2020-09-07 10:12 lipu1993 阅读(3070) 评论(1) 推荐(0)
摘要: <AutoComplete style={{ width: '30%' }} dataSource={REGULAR_REPLACE} placeholder="请输入正则" onChange={this.setRegular} value={searchVal} /> reRegular = e 阅读全文
posted @ 2020-09-03 12:43 lipu1993 阅读(219) 评论(0) 推荐(0)
摘要: export function downloadFile(url, data = {}, methodType = 'GET') { const form = document.createElement('form'); const formAttrs = [ { name: 'action', 阅读全文
posted @ 2020-09-01 14:45 lipu1993 阅读(121) 评论(0) 推荐(0)
摘要: 先查看有哪些内容 根据需求按需上传 阅读全文
posted @ 2020-08-31 17:46 lipu1993 阅读(87) 评论(0) 推荐(0)
摘要: 组件中请求接口数据可采用全局变量的方法(写在class外),通过判断全局变量中是否有值来决定是否要请求数据,避免每次使用组件都要请求一次值。 阅读全文
posted @ 2020-08-28 23:41 lipu1993 阅读(334) 评论(0) 推荐(0)
摘要: componentWillReceiveProps(nextProps) { const { testValues } = this.props; const { pageSize } = this.state; if (nextProps.testValues !== testValues) { 阅读全文
posted @ 2020-08-28 23:38 lipu1993 阅读(181) 评论(0) 推荐(0)
摘要: export default { 'POST /api/listData': (req, res) => { setTimeout(() => { const response = { resultCode: '0', resultObject: [ { Type: 'AES', bitLen: [ 阅读全文
posted @ 2020-08-28 23:30 lipu1993 阅读(219) 评论(0) 推荐(0)
摘要: .expanded { margin-left: 38px; height: 30px; line-height: 30px; width: 90%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } 阅读全文
posted @ 2020-08-27 17:57 lipu1993 阅读(137) 评论(0) 推荐(0)
摘要: getSenLevel = (params, index = 1, size = 10) => { params.pageIndex = index; params.pageSize = size let test = null const listValue = [] let test01 = [ 阅读全文
posted @ 2020-08-27 00:30 lipu1993 阅读(8331) 评论(0) 推荐(0)
摘要: for (let i = 0; i < 10; i++) 改为 for (let i = 0; i < 10; i+=1) 阅读全文
posted @ 2020-08-25 23:03 lipu1993 阅读(558) 评论(0) 推荐(0)
上一页 1 2 3 4 5 6 7 ··· 16 下一页