mirror of
https://github.com/yangzongzhuan/RuoYi-Cloud-Vue3.git
synced 2025-12-24 01:16:56 +08:00
@@ -41,7 +41,7 @@ const useUserStore = defineStore(
|
|||||||
this.roles = res.roles
|
this.roles = res.roles
|
||||||
this.permissions = res.permissions
|
this.permissions = res.permissions
|
||||||
} else {
|
} else {
|
||||||
this.setRoutes = ['ROLE_DEFAULT']
|
this.roles = ['ROLE_DEFAULT']
|
||||||
}
|
}
|
||||||
this.name = user.userName
|
this.name = user.userName
|
||||||
this.avatar = avatar;
|
this.avatar = avatar;
|
||||||
|
|||||||
Reference in New Issue
Block a user