components/tabBar/tabBar.vue
@@ -74,7 +74,7 @@ 'curRole.roleName': { handler(newVal) { if (newVal == "民警") { this.roleType == 2 this.roleType = 2 } }, deep: true, @@ -98,10 +98,7 @@ deep: true, immediate: true }, isShowTabbarItem: { deep: true, immediate: true } }, mounted() {