diff --git a/pages/mine/index.vue b/pages/mine/index.vue index d178e5e..9228626 100644 --- a/pages/mine/index.vue +++ b/pages/mine/index.vue @@ -178,6 +178,13 @@ export default { }, // 企业法大大实名认证 certifyCompany() { + if (!this.hasCompany) { + uni.showToast({ + title: '您还没有企业信息,请先完善企业信息', + icon: 'none' + }) + return + } if (this.userInfo.fddEnterpriseStatus === fddEnterpriseStatus.UNCERTIFIED || this.userInfo.fddEnterpriseStatus === fddEnterpriseStatus.CERTIFIED_FAIL) { getVerifyUrl({ enterpriseId: this.$store.state.companyInfo.id }).then((res) => { if (res) {