修复:picker中值变了后未更新picker-colum中的值 (#23)
* 修复:picker中值变了后未更新picker-colum中的值
This commit is contained in:
@@ -69,10 +69,14 @@ export default {
|
||||
this.currentValues = val;
|
||||
},
|
||||
currentValues(val) {
|
||||
/* istanbul ignore else */
|
||||
if (this.valueIndex === -1) {
|
||||
this.currentValue = (val || [])[0];
|
||||
}
|
||||
},
|
||||
value(val) {
|
||||
this.currentValue = val;
|
||||
},
|
||||
currentValue(val) {
|
||||
this.doOnValueChange();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user