Browse Source

登录加班增加定时器

Lijy 2 years ago
parent
commit
8bee231d0e
1 changed files with 3 additions and 0 deletions
  1. 3 0
      fhKeeper/formulahousekeeper/timesheet/src/views/Login.vue

+ 3 - 0
fhKeeper/formulahousekeeper/timesheet/src/views/Login.vue

@@ -284,6 +284,9 @@
                     if (valid) {
                         var _this = this;
                         this.logining = true;
+                        setTimeout(function () {
+                            this.logining = false;
+                        }, 15000);
                         this.http.post(this.port.manage.login, this.ruleForm , res => {
                             this.logining = false;
                             if (res.code == "ok") {