Browse Source

no message

feature/v2.3
xpz2018 4 years ago
parent
commit
9fd859909c
1 changed files with 1 additions and 1 deletions
  1. 2
      pages/login/index.js

2
pages/login/index.js

@ -161,7 +161,7 @@ Page({
var applicationStatus = 0
for (let mIndex = 0; mIndex < app.userInfo.enterpriseInfos.length; mIndex++) {
const element = app.userInfo.enterpriseInfos[mIndex]
if(element.isEnterprisePrimary){
if(element.isEnterprisePrimary || applicationStatus == 1){
// 如果是企业主
this.toIndex()
return

Loading…
Cancel
Save