Add debug logging for component lifecycle in registration page
Some checks failed
Code Analysis (JS/Vue) / analyze (push) Failing after 44s
Some checks failed
Code Analysis (JS/Vue) / analyze (push) Failing after 44s
Introduce console log statements to track the loading and setup phases of the registrieren.vue component. This enhancement aims to improve visibility into the component's lifecycle, aiding in debugging and troubleshooting during development.
This commit is contained in:
@@ -228,6 +228,10 @@
|
||||
import { onMounted, ref } from 'vue'
|
||||
import { AlertCircle, Check, Loader2, Info } from 'lucide-vue-next'
|
||||
|
||||
// Debug: Test-Ausgabe beim Laden der Komponente
|
||||
console.log('[DEBUG] ===== registrieren.vue component loaded =====')
|
||||
console.log('[DEBUG] Component setup started')
|
||||
|
||||
const formData = ref({
|
||||
name: '',
|
||||
email: '',
|
||||
@@ -244,6 +248,8 @@ const isPasskeySupported = ref(false)
|
||||
const passkeySupportReason = ref('')
|
||||
const setPasswordForPasskey = ref(true)
|
||||
|
||||
console.log('[DEBUG] Component refs initialized')
|
||||
|
||||
// Debug: Log beim Form-Submit
|
||||
const handleFormSubmit = (event) => {
|
||||
console.log('[DEBUG] ===== FORM SUBMIT EVENT =====')
|
||||
|
||||
Reference in New Issue
Block a user