Commit 12909c67 authored by zhengjiawei's avatar zhengjiawei

bug

parent 8705d045
...@@ -324,7 +324,6 @@ class MatchEquipment extends Component { ...@@ -324,7 +324,6 @@ class MatchEquipment extends Component {
picList.push(it); picList.push(it);
} }
}); });
console.log(picList);
return (<Picture pictureList={picList} />); return (<Picture pictureList={picList} />);
} }
......
...@@ -37,7 +37,7 @@ class Picture extends Component { ...@@ -37,7 +37,7 @@ class Picture extends Component {
render() { render() {
const { pictureList } = this.props; const { pictureList } = this.props;
// let { photosUrl = [] } = pictureList || {}; // 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; // let imgs = pictureList;
return ( return (
<div className="point-details-picture"> <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