- funzione per poter registrare le persone con l'username della persona che clicca su "Invita un Amico" comparirà per 8 ore.

This commit is contained in:
Surya Paolo
2025-03-24 12:27:59 +01:00
parent 2ba26f67cd
commit 285db5f995
17 changed files with 118 additions and 107 deletions

View File

@@ -1,6 +1,6 @@
import { tools } from '@tools'
import { costanti } from '@costanti'
import { computed, defineComponent, onMounted, reactive, ref, watch } from 'vue'
import { computed, defineComponent, onMounted, onUnmounted, reactive, ref, watch } from 'vue'
import { useQuasar } from 'quasar'
import { useI18n } from 'vue-i18n'
import { CContactUser } from '@src/components/CContactUser'
@@ -16,6 +16,11 @@ export default defineComponent({
emits: ['regEventEmail'],
components: { CMyUser, CContactUser },
props: {
slide: {
type: String,
required: false,
default: 'start',
},
invited: {
type: String,
required: false,
@@ -46,9 +51,9 @@ export default defineComponent({
const noInvited = ref(false)
const start = ref(false)
const listlinksreg = computed(() => globalStore.datastat ? globalStore.datastat.listlinksreg : [])
const slide = ref(props.slide)
const slide = ref('start')
const listlinksreg = computed(() => globalStore.datastat ? globalStore.datastat.listlinksreg : [])
const actionType = ref(costanti.ACTIONTYPE.LINK_REG)
@@ -66,8 +71,6 @@ export default defineComponent({
const invitante = tools.getInvitante()
console.log('invitante', invitante)
if (props.invited) {
start.value = true
chooseReg.value = true