Browse Source

bug
Signed-off-by: lijunqing <lijunqing@dashoo.cn>

lijunqing 6 years ago
parent
commit
aed137d421

+ 8 - 8
src/dashoo.cn/frontend_web/src/pages/login.vue

@@ -281,14 +281,14 @@ import SIdentify from '@/components/VCode.vue'
     }
   },
 
-  beforeCreate () {
-    if (process.client) {
-      const myDomain = window.location.host
-      if (myDomain.indexOf('60.30.245.229') > -1) {
-        window.location.href = 'http://60.30.245.229/loginclient/'
-      }
-    }
-  },
+  // beforeCreate () {
+  //   if (process.client) {
+  //     const myDomain = window.location.host
+  //     if (myDomain.indexOf('60.30.245.229') > -1) {
+  //       window.location.href = 'http://60.30.245.229/loginclient/'
+  //     }
+  //   }
+  // },
   created () {
     this.initNoticeListData()
     this.initFileListData()

+ 1 - 2
src/dashoo.cn/frontend_web/src/pages/loginclient.vue

@@ -125,7 +125,7 @@
                                  round>没有账户?请注册</el-button>
                     </router-link>
                   </el-col>
-                  <el-col :span="12">
+                  <el-col :span="12" style="text-align:right">
                     <router-link :to="'/passwordback'">
                       <el-button type="text"
                                  round>忘记密码?</el-button>
@@ -213,7 +213,6 @@ import SIdentify from '@/components/VCode.vue'
     this.identifyCode = ''
     this.makeCode(this.identifyCodes, 4)
     //
-
   },
   components: {
     Sticky,