ScanQrCode.vue

This component displays a popup dialog showing the QR code and allows the user to scan it.
Props
| Name | Type | Required | Default |
|---|---|---|---|
modelValue | Boolean | ✅ | false |
Emits
update:modelValue
Used by
Reactivity
(anonymous) (watch)
Watch for changes in the modelValue (showDialog) prop and update local state
(anonymous) (watch)
Watch for changes in local state of showDialog to automatically trigger the update:modelValue event, to let the parent know when to close the dialog
