fix form progress
This commit is contained in:
@@ -1,7 +1,7 @@
|
|||||||
<template>
|
<template>
|
||||||
<div
|
<div
|
||||||
class="max-w-2xl mx-auto border-1 bg-white rounded-xl mt-7xl text-gray-5 px-12 py-8">
|
class="max-w-2xl mx-auto border-1 bg-white rounded-xl mt-7xl text-gray-5 px-12 py-8">
|
||||||
<template v-if="formDone">
|
<template v-if="!formDone">
|
||||||
<SMForm v-model="form" @submit="handleSubmit">
|
<SMForm v-model="form" @submit="handleSubmit">
|
||||||
<h1 class="mb-4">Email Verify</h1>
|
<h1 class="mb-4">Email Verify</h1>
|
||||||
<p class="mb-4">
|
<p class="mb-4">
|
||||||
@@ -73,11 +73,8 @@ let form = reactive(
|
|||||||
);
|
);
|
||||||
|
|
||||||
const handleSubmit = async () => {
|
const handleSubmit = async () => {
|
||||||
form.loading(true);
|
|
||||||
|
|
||||||
try {
|
try {
|
||||||
// await recaptchaLoaded();
|
form.loading(true);
|
||||||
// const captcha = await executeRecaptcha("submit");
|
|
||||||
|
|
||||||
await api.post({
|
await api.post({
|
||||||
url: "/users/verifyEmail",
|
url: "/users/verifyEmail",
|
||||||
|
|||||||
Reference in New Issue
Block a user