Quellcode durchsuchen

【BUG修复】企业微信PC端支持打开UAS移动版

zhouy vor 1 Monat
Ursprung
Commit
9570fedef4
1 geänderte Dateien mit 3 neuen und 3 gelöschten Zeilen
  1. 3 3
      uas-office-web/uas-mobile/src/pages/common/UasEntry.jsx

+ 3 - 3
uas-office-web/uas-mobile/src/pages/common/UasEntry.jsx

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