inputNumber组件添加placeholder属性

This commit is contained in:
xiaofengsha 2018-04-17 21:38:52 +08:00
parent 3dc998e6ab
commit ff3d2a2e38

View file

@ -30,7 +30,8 @@
@change="change"
:readonly="readonly || !editable"
:name="name"
:value="formatterValue">
:value="formatterValue"
:placeholder="placeholder">
</div>
</div>
</template>
@ -120,7 +121,11 @@
},
parser: {
type: Function
}
},
placeholder: {
type: String,
default: ''
},
},
data () {
return {