email al inicio existe
This commit is contained in:
@@ -63,7 +63,7 @@
|
||||
</template>
|
||||
|
||||
<script setup>
|
||||
import { ref, computed } from "vue";
|
||||
import { ref, computed, onMounted } from "vue";
|
||||
import { useListaStore } from "../stores/lista.js";
|
||||
import { useRouter } from "vue-router";
|
||||
import { useQuasar } from "quasar";
|
||||
@@ -84,8 +84,7 @@ const comprobarEmailVerified = computed(() => {
|
||||
// eslint-disable-next-line vue/no-side-effects-in-computed-properties
|
||||
msgError.value = "Falta verificar el correo";
|
||||
return false;
|
||||
}
|
||||
if (existe.length == 0) {
|
||||
} else if (existe.length == 0 && usuarios.value?.length > 0) {
|
||||
// eslint-disable-next-line vue/no-side-effects-in-computed-properties
|
||||
msgError.value = "El email no existe";
|
||||
return false;
|
||||
@@ -122,6 +121,10 @@ const btnLoginDisable = () => {
|
||||
}
|
||||
return false;
|
||||
};
|
||||
|
||||
onMounted(() => {
|
||||
recibeDatos();
|
||||
});
|
||||
</script>
|
||||
|
||||
<style scoped>
|
||||
|
||||
Reference in New Issue
Block a user