浏览代码

登录加班增加定时器

Lijy 2 年之前
父节点
当前提交
8bee231d0e
共有 1 个文件被更改,包括 3 次插入0 次删除
  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") {