Commit 83e1c81e by xuzhenghua

app内不显示咨询

parent 5194a973
...@@ -34,8 +34,10 @@ class App extends Component { ...@@ -34,8 +34,10 @@ class App extends Component {
firstLoad = true firstLoad = true
componentWillMount(){ componentWillMount(){
if (!getParam('version')) {
this.getqimoClientId() this.getqimoClientId()
} }
}
componentDidMount() { componentDidMount() {
this.umengStatistic() this.umengStatistic()
...@@ -203,10 +205,9 @@ class App extends Component { ...@@ -203,10 +205,9 @@ class App extends Component {
if (!this.props.user.hasError && getParam('redirect')) { if (!this.props.user.hasError && getParam('redirect')) {
window.location.href = getParam('redirect') window.location.href = getParam('redirect')
} }
if (!getParam('version')) {
this.QimoClient() this.QimoClient()
}
} }
setPreviousLocation = () => { setPreviousLocation = () => {
......
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