Commit ee786471 by 万亚飞

title

parent 7ffe012b
import React, { Component } from 'react'; import React, { Component } from 'react';
import { Modal, Toast } from 'antd-mobile'; import { Modal, Toast } from 'antd-mobile';
import classNames from 'classnames'; import classNames from 'classnames';
import { linkTo, setTitle } from '@/utils/tools'; import { linkTo } from '@/utils/tools';
import TrainItem from '../../Components/page/user/TrainItem'; import TrainItem from '../../Components/page/user/TrainItem';
import TabBar from '../../Components/page/user/TabBar'; import TabBar from '../../Components/page/user/TabBar';
import { MATERIAL_ARR } from '../../static/js/constant'; import { MATERIAL_ARR } from '../../static/js/constant';
...@@ -72,13 +72,12 @@ class JobList extends Component { ...@@ -72,13 +72,12 @@ class JobList extends Component {
}; };
} }
componentWillMount() { componentWillMount() {
// document.title = '执业背景'; document.title = '执业背景';
this.setState({ this.setState({
tabIndex: parseInt(getParameterByName('index', location.href)) || 0 tabIndex: parseInt(getParameterByName('index', location.href)) || 0
}); });
} }
componentDidMount() { componentDidMount() {
setTitle('执业背景');
app().downRefresh(true); app().downRefresh(true);
app().notRefresh(true); app().notRefresh(true);
this.initData(); this.initData();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment