From ab98f29c3f61df3e649e92983e3f8758029a5210 Mon Sep 17 00:00:00 2001 From: RuoYi <yzz_ivy@163.com> Date: 星期日, 23 四月 2023 16:42:03 +0800 Subject: [PATCH] 缓存列表:多次清除操作,提示不变的问题 --- src/store/modules/user.js | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) 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 @@ this.roles = res.roles this.permissions = res.permissions } else { - this.setRoutes = ['ROLE_DEFAULT'] + this.roles = ['ROLE_DEFAULT'] } this.name = user.userName this.avatar = avatar; -- Gitblit v1.9.3