liuyu 5 năm trước cách đây
mục cha
commit
4761fcf12c
1 tập tin đã thay đổi với 1 bổ sung0 xóa
  1. 1 0
      src/views/registered.vue

+ 1 - 0
src/views/registered.vue

@@ -39,6 +39,7 @@ export default {
     ...user(['register']),
     async onSubmit(form) {
       form.role = '4';
+      form.openid = this.$route.query.openid;
       const res = await this.register(form);
       console.log(res);
       if (res.errcode === 0) {