소스 검색

loading 状态也不允许 回车键 登录

Michael Wang 5 년 전
부모
커밋
85e5cedf50
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      src/features/Login/Login.vue

+ 1 - 1
src/features/Login/Login.vue

@@ -296,7 +296,7 @@ export default {
   methods: {
     ...mapMutations(["updateUser", "updateTimeDifference", "updateQECSConfig"]),
     async login() {
-      if (this.disableLoginBtn) {
+      if (this.disableLoginBtn || this.loginBtnLoading) {
         return;
       }
       this.loginBtnLoading = true;