You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
<template>
|
|
<input type="number" class="form-control" :name="name" v-model="value" />
|
|
</template>
|
|
<script>
|
|
export default {
|
|
props: ['title', 'name', 'value', 'data'],
|
|
watch: {
|
|
value(val) {
|
|
this.$emit('update:value', val)
|
|
},
|
|
},
|
|
};
|
|
</script> |