other components... (2)

This commit is contained in:
Paolo Arena
2021-09-16 21:08:02 +02:00
parent fcc4f61f07
commit f351673917
276 changed files with 17183 additions and 3371 deletions

View File

@@ -0,0 +1,35 @@
import { computed, defineComponent, ref, watch } from 'vue'
import { CSignUp } from '../../../components/CSignUp'
import { useQuasar } from 'quasar'
import { useI18n } from '@/boot/i18n'
import { useUserStore } from '@store/UserStore'
import { useRoute } from 'vue-router'
export default defineComponent({
name: 'Signup',
components: { CSignUp },
props: {},
setup() {
const route = useRoute()
const adult = ref(false)
const invited = computed(() => route.params.invited)
// @ts-ignore
watch(invited, (newval, oldval) => {
console.log('$route.params.invited')
adult.value = !!route.params.invited
})
function created() {
// if (!tools.getCookie(tools.APORTADOR_SOLIDARIO, ''))
// tools.setCookie(tools.APORTADOR_SOLIDARIO, $route.params.invited)
}
created()
return {
}
},
})