|
@@ -20,12 +20,12 @@ class UasEntry extends Component {
|
|
|
componentDidMount () {
|
|
componentDidMount () {
|
|
|
document.title = 'UAS系统'
|
|
document.title = 'UAS系统'
|
|
|
|
|
|
|
|
- if (isMobile()) {
|
|
|
|
|
|
|
+ /* if (isMobile()) {*/
|
|
|
clearAllRedux()
|
|
clearAllRedux()
|
|
|
this.props.history.replace('/homePage')
|
|
this.props.history.replace('/homePage')
|
|
|
- } else {
|
|
|
|
|
|
|
+ /*} else {
|
|
|
window.location.href = _baseURL
|
|
window.location.href = _baseURL
|
|
|
- }
|
|
|
|
|
|
|
+ }*/
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
componentWillUnmount () {
|
|
componentWillUnmount () {
|