修复<Silder> BUG

修复<Silder> 显示数字输入框时, 清空输入框会导致组件失效
This commit is contained in:
刘晓堂 2018-10-31 14:09:04 +08:00 committed by GitHub
parent ae02246a2e
commit 78f16ed43a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -379,7 +379,7 @@
}, },
handleInputChange (val) { handleInputChange (val) {
this.currentValue = [val, this.currentValue[1]]; this.currentValue = [val || this.min, this.currentValue[1]];
this.emitChange(); this.emitChange();
}, },