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);