fix: 修改下弹窗显示错误的问题

This commit is contained in:
zhangyu
2021-12-16 19:50:23 +08:00
parent 424663eb57
commit 44bb4ab27c
8 changed files with 133 additions and 36 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 || !this.license.token) {
return
}
if (this.validateLogin() && (this.$route.path == '/' || this.$route.path == '/login')) {
this.loading = true
this.$post('/sys/login', this.loginData).then(res => {