Skip to content

Commit 5b4a1ed

Browse files
committed
fix: vuelidate
1 parent 9498650 commit 5b4a1ed

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/modules/Home/views/home.vue

+2-2
Original file line numberDiff line numberDiff line change
@@ -9,11 +9,11 @@
99
</ElButton>
1010

1111
<ElForm>
12-
{{ v$.name.$error }}
13-
<VFormItem :error="v$.name.$invalid">
12+
<VFormItem :error="v$.name.$error">
1413
<ElInput
1514
v-model="form.name"
1615
placeholder="Name"
16+
@input="v$.name.$touch"
1717
/>
1818

1919
<template #error>

0 commit comments

Comments
 (0)