zhanghui пре 5 месеци
родитељ
комит
7ccc194988
1 измењених фајлова са 5 додато и 1 уклоњено
  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: {