Authored by 于良

bug fix review by 阿瑟

@@ -40,7 +40,7 @@ export default class SlicedImage extends React.Component { @@ -40,7 +40,7 @@ export default class SlicedImage extends React.Component {
40 .replace('{height}', height); 40 .replace('{height}', height);
41 } 41 }
42 42
43 - __DEV__ && console.log(newSrc); 43 + // __DEV__ && console.log(newSrc);
44 44
45 return newSrc; 45 return newSrc;
46 } 46 }
@@ -66,7 +66,7 @@ class PostingContainer extends Component{ @@ -66,7 +66,7 @@ class PostingContainer extends Component{
66 componentDidMount() { 66 componentDidMount() {
67 67
68 if (this.props.section.sid>-1) { 68 if (this.props.section.sid>-1) {
69 - let section = this.props.section.items.get(this.sid); 69 + let section = this.props.section.items.get(this.props.section.sid);
70 this.boardSelectedWithName(section.name,section.id); 70 this.boardSelectedWithName(section.name,section.id);
71 } else { 71 } else {
72 InteractionManager.runAfterInteractions(() => { 72 InteractionManager.runAfterInteractions(() => {
@@ -124,9 +124,10 @@ class PostingContainer extends Component{ @@ -124,9 +124,10 @@ class PostingContainer extends Component{
124 render() { 124 render() {
125 let fromSection=false; 125 let fromSection=false;
126 if (this.props.section.sid>-1) { 126 if (this.props.section.sid>-1) {
127 - let section = this.props.section.items.get(this.sid); 127 + let section = this.props.section.items.get(this.props.section.sid);
128 fromSection = section.name.length && section.id>0; 128 fromSection = section.name.length && section.id>0;
129 } 129 }
  130 +
130 return( 131 return(
131 <View style={styles.container}> 132 <View style={styles.container}>
132 <Posting 133 <Posting