liuyu %!s(int64=5) %!d(string=hai) anos
pai
achega
4761fcf12c
Modificáronse 1 ficheiros con 1 adicións e 0 borrados
  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) {