breaking change(Picker): adjust change event param

This commit is contained in:
chenjiahan
2020-08-21 00:12:48 +08:00
parent af7e7fe9df
commit 036eb8543c
5 changed files with 22 additions and 15 deletions
+1 -2
View File
@@ -137,12 +137,11 @@ export default createComponent({
if (this.dataType === 'text') {
this.$emit(
'change',
this,
this.getColumnValue(0),
this.getColumnIndex(0)
);
} else {
this.$emit('change', this, this.getValues(), columnIndex);
this.$emit('change', this.getValues(), columnIndex);
}
},