随笔分类 -  前端-工作篇-react工作

前端-react工作
摘要:Encountered two children with the same key, `116245139602468120654593`. Keys should be unique so that components maintain their identity across update 阅读全文
posted @ 2022-07-23 22:31 前端导师歌谣 阅读(186) 评论(0) 推荐(0) 编辑
摘要:import React, { Component } from 'react'; class Edit extends Component { render() { return <div>1111</div>; } } export default Edit; 利用export导出 阅读全文
posted @ 2022-07-23 22:31 前端导师歌谣 阅读(21) 评论(0) 推荐(0) 编辑
摘要:this.props.dispatch({ type: 'activity/addActivityPopup', payload: params, callback: (res) => { if (res.returnCode 0) { message.success('新增成功'); } else 阅读全文
posted @ 2022-07-23 22:31 前端导师歌谣 阅读(74) 评论(0) 推荐(0) 编辑
摘要: 阅读全文
posted @ 2022-07-23 22:31 前端导师歌谣 阅读(83) 评论(0) 推荐(0) 编辑
摘要:const { dispatch, activity: { cmsPopupList = [] }, } = this.props; 阅读全文
posted @ 2022-07-23 22:31 前端导师歌谣 阅读(117) 评论(0) 推荐(0) 编辑
摘要: 阅读全文
posted @ 2022-07-23 22:31 前端导师歌谣 阅读(30) 评论(0) 推荐(0) 编辑
摘要:<Row gutter={12}> <Col span={12}> <Form.Item label="活动结束时间"> {getFieldDecorator('endTimeLong', { rules: [{ required: true, message: '活动结束时间不能为空' }], } 阅读全文
posted @ 2022-07-23 22:31 前端导师歌谣 阅读(89) 评论(0) 推荐(0) 编辑
摘要: 阅读全文
posted @ 2022-07-23 22:31 前端导师歌谣 阅读(29) 评论(0) 推荐(0) 编辑
摘要:const rowSelection = { selectedRowKeys, onChange: this.onSelectChange, }; 阅读全文
posted @ 2022-07-23 22:31 前端导师歌谣 阅读(194) 评论(0) 推荐(0) 编辑
摘要:{ name: data?.name, startTimeLong: new Date(data?.code[0]).getTime(), endTimeLong: new Date(data?.code[1]).getTime(), }, () => { this.getFrameList(); 阅读全文
posted @ 2022-07-23 22:31 前端导师歌谣 阅读(33) 评论(0) 推荐(0) 编辑
摘要:<Radio.Group> {linksList?.map((item) => ( <Radio key={item.key} value={item.key}> {item.value} </Radio> ))} </Radio.Group> 阅读全文
posted @ 2022-07-23 22:31 前端导师歌谣 阅读(54) 评论(0) 推荐(0) 编辑
摘要:200: '服务器成功返回请求的数据。', 201: '新建或修改数据成功。', 202: '一个请求已经进入后台排队(异步任务)。', 204: '删除数据成功。', 400: '发出的请求有错误,服务器没有进行新建或修改数据的操作。', 401: '用户没有权限(令牌、用户名、密码错误)', 4 阅读全文
posted @ 2022-07-23 22:31 前端导师歌谣 阅读(79) 评论(0) 推荐(0) 编辑
摘要:import { Spin, Switch, Alert } from 'antd'; class Card extends React.Component { state = { loading: false }; toggle = value => { this.setState({ loadi 阅读全文
posted @ 2022-07-23 22:31 前端导师歌谣 阅读(92) 评论(0) 推荐(0) 编辑
摘要: 阅读全文
posted @ 2022-07-23 22:31 前端导师歌谣 阅读(14) 评论(0) 推荐(0) 编辑
摘要:this.props.dispatch({ type: 'startpage/getStartPageByCode', payload: { code: this.props.location.query.code }, callback: (res) => { this.setState({ po 阅读全文
posted @ 2022-07-23 22:31 前端导师歌谣 阅读(138) 评论(0) 推荐(0) 编辑
摘要:### Error updating database. Cause: org.postgresql.util.PSQLException: ERROR: value too long for type character varying(64) ### The error may exist in 阅读全文
posted @ 2022-07-23 22:31 前端导师歌谣 阅读(112) 评论(0) 推荐(0) 编辑
摘要:()=>{this.handleSubmit(true) 阅读全文
posted @ 2022-07-23 22:31 前端导师歌谣 阅读(23) 评论(0) 推荐(0) 编辑
摘要:this.props.dispatch({ type: 'activity/addActivityPopup', payload: params, callback: (res) => { if (res.returnCode 0) { message.success('新增成功'); if (fl 阅读全文
posted @ 2022-07-23 22:31 前端导师歌谣 阅读(132) 评论(0) 推荐(0) 编辑
摘要:<div style={{ textAlign: 'center' }}> <Button type="primary" onClick={this.handleSubmit(false)} style={{ marginRight: '10px' }}> 保存 </Button> <Button 阅读全文
posted @ 2022-07-23 22:31 前端导师歌谣 阅读(21) 评论(0) 推荐(0) 编辑
摘要:<Row gutter={12}> <Col span={12}> <Form.Item label="活动结束时间"> {getFieldDecorator('endTimeLong', { initialValue: [moment(popupByIdDetail.endTimeLong)], 阅读全文
posted @ 2022-07-23 22:31 前端导师歌谣 阅读(46) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示