forked from huge/frontEnd/hugeOA

...
liyj
2020-06-24 7af09e42b49cd18f160c19297f47c4622b1eedc3
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
/* eslint-disable */
/**kelq
 * 4/29/2020, 4:26:56 PM
 * doc comment for the file goes here
 */
 
/** 个人信息 */
import React, { ReactNode, ReactEventHandler, Component } from 'react';
import InformationPage from '../../../components/oa/personal/information';
import { now } from 'moment';
 
export default class Information extends Component {
 constructor(props) {
    super(props);
    this.config = {
    };
    this.state = {
      key: Date.now()
    };
  }
 
  componentWillMount() { }
 
  componentDidMount() { }
 
  componentDidShow() { }
 
  setData = (data) => {
    this.setState({
      ...data
    })
  }
 
  render() {
    let { key } = this.state;
    return (
      <div className="information-page-main">
        <InformationPage {...this.props} setData={this.setData} key={key}/>
      </div>
    )
  }
}