breaking change(Area): adjust change event param
This commit is contained in:
+3
-2
@@ -177,12 +177,13 @@ export default createComponent({
|
||||
});
|
||||
},
|
||||
|
||||
onChange(picker, values, index) {
|
||||
onChange(values, index) {
|
||||
const { picker } = this.$refs;
|
||||
this.code = values[index].code;
|
||||
this.setValues();
|
||||
|
||||
const parsedValues = this.parseOutputValues(picker.getValues());
|
||||
this.$emit('change', picker, parsedValues, index);
|
||||
this.$emit('change', parsedValues, index);
|
||||
},
|
||||
|
||||
onConfirm(values, index) {
|
||||
|
||||
Reference in New Issue
Block a user