From 9aa41fe7b4c084d28a8395d9fbb6cbb1d8116ae0 Mon Sep 17 00:00:00 2001
From: zengh <123456>
Date: Tue, 24 May 2022 21:53:57 +0800
Subject: [PATCH] 角色权限修改

---
 src/page/index/tags.vue |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/src/page/index/tags.vue b/src/page/index/tags.vue
index 1ddfab4..25382b6 100644
--- a/src/page/index/tags.vue
+++ b/src/page/index/tags.vue
@@ -66,7 +66,7 @@
     mounted() {
       this.setActive();
       this.tagList.forEach((item, index) => {
-        if (item.label == "首页" && (this.userInfo.role_name == "policeAdmin" || this.userInfo.role_name == "administrator")){
+        if (item.label == "首页" && (this.userInfo.role_name == "police" || this.userInfo.role_name == "policeAdmin" || this.userInfo.role_name == "administrator")){
           this.$store.commit("set_hideHome", false);
         }else if (item.label == "首页" && (this.userInfo.role_name == "操作员")) {
           this.tagList.splice(index, 1);

--
Gitblit v1.9.3