panhui %!s(int64=4) %!d(string=hai) anos
pai
achega
2170e1afd1
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      src/views/Submit.vue

+ 1 - 1
src/views/Submit.vue

@@ -295,7 +295,7 @@ export default {
                 collectionId: this.$route.query.id,
                 collectionId: this.$route.query.id,
                 qty: 1,
                 qty: 1,
                 couponId: (this.couponInfo || {}).id || '',
                 couponId: (this.couponInfo || {}).id || '',
-                invitor: sessionStorage.getItem('invitor'),
+                invitor: this.$store.state.invitor || '',
                 vip: this.$store.state.userInfo.vipPurchase > 0 ? true : false
                 vip: this.$store.state.userInfo.vipPurchase > 0 ? true : false
             };
             };
             params.sign = encryptUtil.encrypt(qs.stringify({ ...params, ts: new Date().getTime() }));
             params.sign = encryptUtil.encrypt(qs.stringify({ ...params, ts: new Date().getTime() }));