RuoYi
2022-06-26 1def54572acc3bc6a97b454bd9bef19c3c9fa89d
src/store/modules/user.js
@@ -40,7 +40,7 @@
              this.roles = res.roles
              this.permissions = res.permissions
            } else {
              this.setRoutes = ['ROLE_DEFAULT']
              this.roles = ['ROLE_DEFAULT']
            }
            this.name = user.userName
            this.avatar = avatar;