We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 09ff86c commit b4757f7Copy full SHA for b4757f7
example/App.jsx
@@ -43,13 +43,13 @@ class App extends Component {
43
<div className="app">
44
<div className="img-list">
45
<button onClick={this.openViewer.bind(this, 0)}>点击打开图片</button>
46
- {/*{
+ {
47
this.state.imags.map((item, index) => {
48
return <div className="img" key={item}>
49
<img src={item} alt="" onClick={this.openViewer.bind(this, index)} width="100%" height="auto" className=""/>
50
</div>
51
})
52
- }*/}
+ }
53
54
{
55
isOpen ? <WxImageViewer onClose={this.onClose} urls={this.state.imags} index={index}/> : ""
0 commit comments