diff --git a/src/project/huizhili/AppHome/components/AppMyGrid.vue b/src/project/huizhili/AppHome/components/AppMyGrid.vue index d0974cf6..87c350bb 100644 --- a/src/project/huizhili/AppHome/components/AppMyGrid.vue +++ b/src/project/huizhili/AppHome/components/AppMyGrid.vue @@ -1,6 +1,6 @@ @@ -51,10 +51,19 @@ export default { methods: { ...mapActions(['getGridInfo']), linkTo(url) { - uni.navigateTo({url}) + if(!this.isGridMember) { + this.$u.toast('您不是网格员无法使用网格员相关功能哦~') + }else { + uni.navigateTo({url}) + } + }, handleSignClick() { - this.$u.debounce(this.handleSignIn, 500) + if(!this.isGridMember) { + this.$u.toast('您不是网格员无法使用网格员相关功能哦~') + }else { + this.$u.debounce(this.handleSignIn, 500) + } }, handleSignIn() { !this.signIn ? uni.getLocation({ diff --git a/src/project/huizhili/AppHome/components/Home.vue b/src/project/huizhili/AppHome/components/Home.vue index ca236d50..c5403a92 100644 --- a/src/project/huizhili/AppHome/components/Home.vue +++ b/src/project/huizhili/AppHome/components/Home.vue @@ -1,8 +1,8 @@