ruifeng_liu há 3 anos atrás
pai
commit
2573a90777
1 ficheiros alterados com 1 adições e 1 exclusões
  1. 1 1
      src/layout/main-layout.vue

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

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