From b203e6be472bd6b512926d52c1e2f4bc31cc389e Mon Sep 17 00:00:00 2001 From: liuye Date: Fri, 14 Jan 2022 16:58:13 +0800 Subject: [PATCH] bug --- src/apps/AppGridManagement/AppGridManagement.vue | 2 +- src/apps/AppGridManagement/Organization.vue | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/apps/AppGridManagement/AppGridManagement.vue b/src/apps/AppGridManagement/AppGridManagement.vue index 510d773e..66352826 100644 --- a/src/apps/AppGridManagement/AppGridManagement.vue +++ b/src/apps/AppGridManagement/AppGridManagement.vue @@ -77,7 +77,7 @@ export default { this.isAdmin = false this.$http.post('/app/appgirdmemberinfo/checkLogOnUser').then((res) => { if (res.code == 0) { - if (res.data.checkType) { + if (res.data.checkType != '0') { this.isAdmin = true } } diff --git a/src/apps/AppGridManagement/Organization.vue b/src/apps/AppGridManagement/Organization.vue index abce0bef..5598e2b5 100644 --- a/src/apps/AppGridManagement/Organization.vue +++ b/src/apps/AppGridManagement/Organization.vue @@ -58,7 +58,7 @@ export default { isGirdUser() { this.$http.post('/app/appgirdmemberinfo/checkLogOnUser').then((res) => { if (res.code == 0) { - if (res.data.checkType) { + if (res.data.checkType != '0') { this.checkType = res.data.checkType this.userGird = res.data.appGirdInfo this.getGirdUserList()