diff --git a/pages/reg/index.vue b/pages/reg/index.vue index a897815..62c4a3e 100644 --- a/pages/reg/index.vue +++ b/pages/reg/index.vue @@ -336,10 +336,7 @@ export default { }, onLoad(query){ this.query = query - this.form.invite_code = this.query.invite_code||this.form.invite_code; - if(this.query.invite_code){ - this.showInvite_code = false; - } + this.form.invite_code = this.query.invite_code||this.form.invite_code }, created() { this.clause();