Browse Source

feat:添加邀请码

zhanghui 7 months ago
parent
commit
7ccc194988
1 changed files with 5 additions and 1 deletions
  1. 5 1
      pages/index/index.vue

+ 5 - 1
pages/index/index.vue

@@ -119,7 +119,11 @@
                 },
             }
         },
-        onLoad() {
+        onLoad(e) {
+            if (e.inviteCode){
+                console.log(e.inviteCode)
+                this.form.inviteCode= e.inviteCode
+            }
             this.versionUpgrade()
         },
         methods: {