Skip to content

Commit

Permalink
comp sort
Browse files Browse the repository at this point in the history
  • Loading branch information
JeromeLin committed Aug 15, 2017
1 parent 52868b9 commit a419b46
Showing 1 changed file with 12 additions and 12 deletions.
24 changes: 12 additions & 12 deletions components/Picker/StackPicker.jsx
Expand Up @@ -33,6 +33,18 @@ class PickerStack extends Component {
this.reposition();
}

onMaskClick() {
const { onMaskClick } = this.props;
this.close(true);
onMaskClick && onMaskClick();
}

onCancel() {
const { onCancel } = this.props;
this.close(true);
onCancel && onCancel();
}

resolveProps({ value, dataSource, validate }) {
const resolveValue = [];

Expand Down Expand Up @@ -94,18 +106,6 @@ class PickerStack extends Component {
}
}

onMaskClick() {
const { onMaskClick } = this.props;
this.close(true);
onMaskClick && onMaskClick();
}

onCancel() {
const { onCancel } = this.props;
this.close(true);
onCancel && onCancel();
}

reposition() {
const { dataSource, valueMember, disabled, displayItems, itemHeight, cols } = this.props;

Expand Down

0 comments on commit a419b46

Please sign in to comment.