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

@ -182,15 +182,15 @@
watch: {
hours (val) {
if (!this.compiled) return;
this.scroll('hours', this.hoursList.findIndex(obj => obj.text == val));
this.scroll('hours', this.hoursList.findIndex(obj => obj.text == val));
},
minutes (val) {
if (!this.compiled) return;
this.scroll('minutes', this.minutesList.findIndex(obj => obj.text == val));
this.scroll('minutes', this.minutesList.findIndex(obj => obj.text == val));
},
seconds (val) {
if (!this.compiled) return;
this.scroll('seconds', this.secondsList.findIndex(obj => obj.text == val));
this.scroll('seconds', this.secondsList.findIndex(obj => obj.text == val));
}
},
mounted () {