Commit 12909c67 authored by zhengjiawei's avatar zhengjiawei

bug

parent 8705d045
......@@ -324,7 +324,6 @@ class MatchEquipment extends Component {
picList.push(it);
}
});
console.log(picList);
return (<Picture pictureList={picList} />);
}
......
......@@ -37,7 +37,7 @@ class Picture extends Component {
render() {
const { pictureList } = this.props;
// let { photosUrl = [] } = pictureList || {};
let imgs = pictureList.map(e => `${baseURI}${e.substr(0, e.length)}`);
let imgs = pictureList.map(e => e && `${baseURI}${e.substr(0, e.length)}`);
// let imgs = pictureList;
return (
<div className="point-details-picture">
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment