Commit c8d1a8aa by xuzhenghua

id

parent dcb0f750
This source diff could not be displayed because it is too large. You can view the blob instead.
This source diff could not be displayed because it is too large. You can view the blob instead.
This source diff could not be displayed because it is too large. You can view the blob instead.
...@@ -33,11 +33,15 @@ class App extends Component { ...@@ -33,11 +33,15 @@ class App extends Component {
pathnameBlacklist = ['/country', '/passport'] pathnameBlacklist = ['/country', '/passport']
firstLoad = true firstLoad = true
// componentWillMount(){ componentWillMount(){
// if (!getParam('version')) { if (!getParam('version')) {
// this.getqimoClientId() if(!localStorage.getItem('qimoClientIdedu')){
// } this.getqimoClientId()
// } } else {
window.qimoClientId = localStorage.getItem('qimoClientIdedu')
}
}
}
componentDidMount() { componentDidMount() {
this.umengStatistic() this.umengStatistic()
//平台信息 //平台信息
...@@ -286,6 +290,7 @@ class App extends Component { ...@@ -286,6 +290,7 @@ class App extends Component {
.then(res => { .then(res => {
if (res.data.code == 200) { if (res.data.code == 200) {
window.qimoClientId = res.data.data.userId window.qimoClientId = res.data.data.userId
localStorage.setItem('qimoClientIdedu', res.data.data.userId)
} }
}) })
.catch(function () { .catch(function () {
......
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