mirror of
https://github.com/PhotonVision/photonvision
synced 2026-07-01 02:41:42 +00:00
28 lines
545 B
Vue
28 lines
545 B
Vue
|
|
<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>
|