ui: disable getResource in login page (#6788)

Fixes #6731
This commit is contained in:
Hoang Nguyen 2022-10-04 12:23:39 +07:00 committed by GitHub
parent 89d9a70dce
commit b69292c376
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -764,7 +764,10 @@ export default {
}
},
watch: {
'$route.fullPath': function () {
'$route.fullPath': function (path) {
if (path === '/user/login') {
return
}
this.getIcons()
},
resource: {