This commit is contained in:
liuye
2022-01-14 16:58:13 +08:00
parent 42ea3c46c0
commit b203e6be47
2 changed files with 2 additions and 2 deletions

View File

@@ -77,7 +77,7 @@ export default {
this.isAdmin = false this.isAdmin = false
this.$http.post('/app/appgirdmemberinfo/checkLogOnUser').then((res) => { this.$http.post('/app/appgirdmemberinfo/checkLogOnUser').then((res) => {
if (res.code == 0) { if (res.code == 0) {
if (res.data.checkType) { if (res.data.checkType != '0') {
this.isAdmin = true this.isAdmin = true
} }
} }

View File

@@ -58,7 +58,7 @@ export default {
isGirdUser() { isGirdUser() {
this.$http.post('/app/appgirdmemberinfo/checkLogOnUser').then((res) => { this.$http.post('/app/appgirdmemberinfo/checkLogOnUser').then((res) => {
if (res.code == 0) { if (res.code == 0) {
if (res.data.checkType) { if (res.data.checkType != '0') {
this.checkType = res.data.checkType this.checkType = res.data.checkType
this.userGird = res.data.appGirdInfo this.userGird = res.data.appGirdInfo
this.getGirdUserList() this.getGirdUserList()