update format func
This commit is contained in:
@@ -35,9 +35,16 @@ const onSubmit = handleSubmit(async (values) => {
|
|||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
|
||||||
function onSSO() {
|
|
||||||
emit('sso')
|
const onSSO = (async () => {
|
||||||
}
|
console.log("Emitting SSO...")
|
||||||
|
try {
|
||||||
|
await emit('sso')
|
||||||
|
} catch (error) {
|
||||||
|
console.error('Call SSO failed:', error)
|
||||||
|
}
|
||||||
|
});
|
||||||
|
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<template>
|
<template>
|
||||||
|
|||||||
Reference in New Issue
Block a user