From 7dcab8852f0b15e1d91889f3710bedea050399dc Mon Sep 17 00:00:00 2001 From: wanglei Date: Fri, 31 Oct 2025 17:26:13 +0800 Subject: [PATCH] =?UTF-8?q?=E9=A6=96=E9=A1=B5=E9=83=A8=E9=97=A8=E8=A7=92?= =?UTF-8?q?=E8=89=B2=E4=B8=8D=E6=9F=A5=E7=9C=8B=E8=AF=84=E5=88=86=E6=95=B0?= =?UTF-8?q?=E6=8D=AE=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ruoyi-ui/src/views/index.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ruoyi-ui/src/views/index.vue b/ruoyi-ui/src/views/index.vue index 5861cb8..7aa5b34 100644 --- a/ruoyi-ui/src/views/index.vue +++ b/ruoyi-ui/src/views/index.vue @@ -53,7 +53,7 @@ export default { console.log(this.$store.state.user); // this.queryParams.itemIds = this.$store.state.user.itemIds; this.queryParams.voteIds= this.$store.state.user.voteIds - if(this.$store.state.user.roles.length===1&&this.$store.state.user.roles[0]==='employee'){ + if(this.$store.state.user.roles.length===1&&(this.$store.state.user.roles[0]==='employee'||this.$store.state.user.roles[0]==='deptRole')){ }else { this.getList();