tinkering with performance
This commit is contained in:
@@ -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)
|
||||
})
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user