Authored by 于良

bug fix review by 阿瑟

... ... @@ -40,7 +40,7 @@ export default class SlicedImage extends React.Component {
.replace('{height}', height);
}
__DEV__ && console.log(newSrc);
// __DEV__ && console.log(newSrc);
return newSrc;
}
... ...
... ... @@ -66,7 +66,7 @@ class PostingContainer extends Component{
componentDidMount() {
if (this.props.section.sid>-1) {
let section = this.props.section.items.get(this.sid);
let section = this.props.section.items.get(this.props.section.sid);
this.boardSelectedWithName(section.name,section.id);
} else {
InteractionManager.runAfterInteractions(() => {
... ... @@ -124,9 +124,10 @@ class PostingContainer extends Component{
render() {
let fromSection=false;
if (this.props.section.sid>-1) {
let section = this.props.section.items.get(this.sid);
let section = this.props.section.items.get(this.props.section.sid);
fromSection = section.name.length && section.id>0;
}
return(
<View style={styles.container}>
<Posting
... ...