fix: 修改仪表盘的 resize事件

This commit is contained in:
zhangyu
2021-12-20 18:02:48 +08:00
parent afc7e44058
commit d895033e8b
2 changed files with 18 additions and 17 deletions

View File

@@ -153,9 +153,9 @@ export default {
methods: {
...mapActions(['loginSuccess']),
login () {
// if (this.loading || !this.license.valid) {
// 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 => {