Browse Source

tbtools-登录

panyong 4 years ago
parent
commit
71838dde4b

+ 1 - 1
htmldev/TBTools/src/views/main.vue

@@ -56,7 +56,7 @@ export default {
     }
   },
   created () {
-    this.getUserInfo()
+    // this.getUserInfo()
   },
   mounted () {
     this.resetDocumentClientHeight()

+ 1 - 6
htmldev/TBTools/src/views/modules/account/login.vue

@@ -93,13 +93,8 @@ export default {
               return
             }
             this.$message.error(data.msg)
-          }).catch((err) => {
+          }).catch(() => {
             this.isDisabled = false
-            this.$message({
-              message: JSON.stringify(err),
-              type: 'error',
-              duration: 2000
-            })
           })
         }
       })