src/views/enterprise/enterprise.vue
@@ -79,8 +79,8 @@ return this.userInfo.role_name == 'admin' || this.userInfo.role_name == 'administrator' ? true:false } }, created() { if (this.permit){ mounted() { if (!this.permit){ this.getEnterpriseDetailByUserId() } }, @@ -219,8 +219,8 @@ if (res.data.code == 200){ this.form = res.data.data this.form.account = this.userInfo.account const group = this.findObject(this.option.group,"account"); group.disabled = true const account = this.findObject(this.option.group,"account"); account.disabled = true } }) }