|
|
@@ -209,9 +209,16 @@ export default {
|
|
|
mounted() {
|
|
|
if (this.$store.state.invitor && this.$store.state.productId) {
|
|
|
this.showInvite = false;
|
|
|
+ this.form.inviteType = this.$store.state.inviteType;
|
|
|
} else {
|
|
|
this.showInvite = true;
|
|
|
}
|
|
|
+
|
|
|
+ if (this.$store.state.invitor && this.$store.state.inviteType) {
|
|
|
+ this.form.inviteType = this.$store.state.inviteType;
|
|
|
+ this.form.invitor = this.$store.state.invitor;
|
|
|
+ this.showInvite = false;
|
|
|
+ }
|
|
|
},
|
|
|
beforeRouteLeave(to, from, next) {
|
|
|
if (to.path === '/agreement') {
|