fix: fix template type errors
This commit is contained in:
parent
37341a5430
commit
b890882885
|
|
@ -17,7 +17,7 @@
|
|||
v-for="(error, field) in errors"
|
||||
:key="field"
|
||||
>
|
||||
{{ field }} {{ error[0] }}
|
||||
{{ field }} {{ error ? error[0] : '' }}
|
||||
</li>
|
||||
</ul>
|
||||
|
||||
|
|
|
|||
|
|
@ -17,7 +17,7 @@
|
|||
v-for="(error, field) in errors"
|
||||
:key="field"
|
||||
>
|
||||
{{ field }} {{ error[0] }}
|
||||
{{ field }} {{ error ? error[0] : '' }}
|
||||
</li>
|
||||
</ul>
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue