fix: 暂时去除登录验证

This commit is contained in:
zhangyu
2021-12-20 17:33:53 +08:00
parent f0d79c10ea
commit afc7e44058
2 changed files with 10 additions and 11 deletions

View File

@@ -153,9 +153,9 @@ export default {
methods: {
...mapActions(['loginSuccess']),
login () {
if (this.loading || !this.license.valid || !this.license.token) {
return
}
// if (this.loading || !this.license.valid) {
// return
// }
if (this.validateLogin() && (this.$route.path == '/' || this.$route.path == '/login')) {
this.loading = true
this.$post('/sys/login', this.loginData).then(res => {
@@ -248,7 +248,6 @@ export default {
this.license.valid = false
this.license.warnInfo = response.msg
}
this.license.token = response.token
})
},
handleChange (file, fileList) {