import '../../style/outSignV2.less'; import React, { Component } from 'react'; import {observer,inject} from 'mobx-react'; import {WeaTop, WeaLeftRightLayout, WeaRightMenu} from 'ecCom'; import LeftCom from './LeftCom'; import Content from './Content'; @inject('outsideV2') @observer export default class OutsideV2 extends Component{ componentDidMount () { this.init(this.props); } componentWillReceiveProps(nextProps) { if (this.props.location.key !== nextProps.location.key) { this.init(nextProps); } } init = props => { props.outsideV2.init(); } render(){ const {outsideV2: store} = this.props; const {topProps, tabProps} = store; const {selectedKey} = tabProps; return (
)}>
) } }