Explorar el Código

内网登录bug

lining hace 6 años
padre
commit
84c816bbcd
Se han modificado 1 ficheros con 3 adiciones y 3 borrados
  1. 3 3
      src/dashoo.cn/frontend_web/src/pages/login.vue

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

@@ -398,7 +398,7 @@ import SIdentify from '@/components/VCode.vue'
         window.localStorage.setItem('loginMode', this.loginMode)
       }
       if (this.loginMode === 1) {
-        this.loginclient()
+        this.login()
       } else {
         this.$refs.user.validate((valid) => {
           if (valid) {
@@ -417,10 +417,10 @@ import SIdentify from '@/components/VCode.vue'
         .then(res => {
           if (res.data.items === 1) {
             this.flag = 1
-            this.loginclient()
+            this.login()
           } else if (res.data.items === 2) {
             this.flag = 2
-            this.loginclient()
+            this.login()
           } else if (res.data.items === 3) {
             this.$message.warning('您无权限登陆本系统')
           } else {