From 9293d19c26f266e56b6719662fbd7c1ec66a39fd Mon Sep 17 00:00:00 2001 From: RuoYi Date: Thu, 16 Jun 2022 11:28:43 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E7=94=A8=E6=88=B7=E6=97=A0?= =?UTF-8?q?=E8=A7=92=E8=89=B2=E6=97=B6=E6=97=A0=E6=B3=95=E7=99=BB=E9=99=86?= =?UTF-8?q?=E7=9A=84=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/store/modules/user.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/store/modules/user.js b/src/store/modules/user.js index 20350e4..7c2e6e8 100644 --- a/src/store/modules/user.js +++ b/src/store/modules/user.js @@ -40,7 +40,7 @@ const useUserStore = defineStore( this.roles = res.roles this.permissions = res.permissions } else { - this.setRoutes = ['ROLE_DEFAULT'] + this.roles = ['ROLE_DEFAULT'] } this.name = user.userName this.avatar = avatar;