diff --git a/pc4mobx/hrmSalary/components/CustomSelect/index.js b/pc4mobx/hrmSalary/components/CustomSelect/index.js
index 3ec7c4ec..7c436690 100644
--- a/pc4mobx/hrmSalary/components/CustomSelect/index.js
+++ b/pc4mobx/hrmSalary/components/CustomSelect/index.js
@@ -20,7 +20,7 @@ class Index extends Component {
constructor(props) {
super(props);
this.state = {
- visible: false, dropdownWidth: 200, value: props.value || ""
+ visible: false, dropdownWidth: 200, value: props.value ? props.value.split(",") : []
};
this.selectedData = {};
}
@@ -40,12 +40,11 @@ class Index extends Component {
};
render() {
- const { dropdownWidth, visible } = this.state;
- const { options, defaultValue, value } = this.props;
+ const { dropdownWidth, visible, value } = this.state;
+ const { options = [], defaultValue } = this.props;
const clsname = classNames({
"wea-associative-search-mult": true
});
- console.log(value);
return (