2
3
lining преди 6 години
родител
ревизия
84c816bbcd
променени са 1 файла, в които са добавени 3 реда и са изтрити 3 реда
  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 {