|
@@ -63,6 +63,11 @@ class CommonSymptom extends Component{
|
|
conceptId
|
|
conceptId
|
|
})
|
|
})
|
|
}
|
|
}
|
|
|
|
+ componentWillReceiveProps(next){
|
|
|
|
+ if(next.show!==this.props.show){
|
|
|
|
+ this.handleClear();
|
|
|
|
+ }
|
|
|
|
+ }
|
|
getStyle(id){
|
|
getStyle(id){
|
|
const {conceptId} = this.state;
|
|
const {conceptId} = this.state;
|
|
if(conceptId.includes(id)){
|
|
if(conceptId.includes(id)){
|