tinkering with performance

This commit is contained in:
Sockenklaus
2023-07-10 22:38:24 +02:00
parent fdb7eae847
commit 7f33499459
4 changed files with 9 additions and 129 deletions

View File

@@ -47,7 +47,6 @@
<script setup lang="ts">
import type { FormInst } from 'naive-ui'
import { ref } from 'vue'
import { NMessageProvider, NInput, NForm, NFormItem } from 'naive-ui'
import { router } from '@inertiajs/vue3'
@@ -78,7 +77,7 @@
})
function onClickLogin(){
formRef.value?.validate((errors) => {
formRef.value?.validate((errors: any) => {
if(!errors) router.post('login', form.value)
})
}