added new component

This commit is contained in:
ori agranat
2019-03-20 22:35:02 +02:00
parent d4ca7e8698
commit 42de19ab33
4 changed files with 39 additions and 5 deletions

View File

@@ -0,0 +1,28 @@
<template>
<div id="InputNumber">
<row type="flex" justify="start" align="middle" :gutter="10" >
<Col span="6">
<h4>{{title}}</h4>
</Col>
<col span="4">
<InputNumber :min="0" v-model="value" size="small"></InputNumber>
</col>
</row>
</div>
</template>
<script>
export default {
name: 'ch-InputNumber',
props:['title'],
data() {
return {
value
}
}
}
</script>
<style lang="" scoped>
</style>