ruifeng_liu 3 years ago
parent
commit
2573a90777
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/layout/main-layout.vue

+ 1 - 1
src/layout/main-layout.vue

@@ -63,7 +63,6 @@ export default {
     ...mapActions(['corpOperation']),
     async getInfo() {
       let { base } = await this.corpOperation({ type: 'search', data: { corpid: this.user.corpid } });
-      console.log(base);
       if (base.state === '已认证') return true;
     },
     async checkBind() {
@@ -71,6 +70,7 @@ export default {
       if (this.allowed) return;
       this.allowed = (await this.getInfo()) || false;
       // sessionStorage.setItem('is_allowed', true);
+      console.log(this.$isBindWx());
       if (!this.$isBindWx()) this.dialog = true;
     },
     toLogin() {