From 5ed69b4bb3416ec61abf424375af8650864dbdfa Mon Sep 17 00:00:00 2001 From: king <18310653075@163.com> Date: 星期日, 08 八月 2021 17:27:10 +0800 Subject: [PATCH] 2021-08-08 --- src/tabviews/custom/components/share/normalTable/index.jsx | 5 ++++- 1 files changed, 4 insertions(+), 1 deletions(-) diff --git a/src/tabviews/custom/components/share/normalTable/index.jsx b/src/tabviews/custom/components/share/normalTable/index.jsx index f0ba8f3..3253c81 100644 --- a/src/tabviews/custom/components/share/normalTable/index.jsx +++ b/src/tabviews/custom/components/share/normalTable/index.jsx @@ -284,7 +284,10 @@ <div> {photos.map((url, i) => ( <Col key={i} span={cols}> - <div className="ant-mk-picture" style={{paddingTop, backgroundImage: `url('${url}')`}}></div> + <div className="ant-mk-picture" onClick={() => { + if (col.scale !== 'true') return + MKEmitter.emit('mkImageScale', url, photos) + }} style={{paddingTop, backgroundImage: `url('${url}')`}}></div> </Col> ))} </div> -- Gitblit v1.8.0