Fixed input returning string type
This commit is contained in:
parent
508875e52e
commit
0d17508bd9
1 changed files with 1 additions and 1 deletions
|
|
@ -8,7 +8,7 @@
|
|||
:name="name"
|
||||
:value="value"
|
||||
:placeholder="placeholder"
|
||||
@input="$emit('input', $event.target.value)"
|
||||
@input="$emit('input', Number($event.target.value))"
|
||||
/>
|
||||
</div>
|
||||
</template>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue