InputNumber add editable property.

This commit is contained in:
梁灏 2017-10-11 09:29:16 +08:00
parent 9271ce9d42
commit 7309b43422
3 changed files with 9 additions and 5 deletions

View file

@ -25,7 +25,7 @@
@blur="blur"
@keydown.stop="keyDown"
@change="change"
:readonly="readonly"
:readonly="readonly || !editable"
:name="name"
:value="precisionValue">
</div>
@ -102,6 +102,10 @@
type: Boolean,
default: false
},
editable: {
type: Boolean,
default: true
},
name: {
type: String
},