mirror of
https://gitee.com/baidu/amis.git
synced 2024-12-04 13:09:07 +08:00
disabled 了应该还是可以看大图的
This commit is contained in:
parent
3d099943d6
commit
6e24fef1c5
@ -1057,21 +1057,20 @@ export default class ImageControl extends React.Component<
|
||||
<div>...</div>
|
||||
)}
|
||||
|
||||
{!disabled ? (
|
||||
<a
|
||||
data-tooltip="查看大图"
|
||||
data-position="bottom"
|
||||
target="_blank"
|
||||
href={file.url || file.preview}
|
||||
onClick={this.previewImage.bind(
|
||||
this,
|
||||
file,
|
||||
key
|
||||
)}
|
||||
>
|
||||
<Icon icon="view" className="icon" />
|
||||
</a>
|
||||
) : null}
|
||||
<a
|
||||
data-tooltip="查看大图"
|
||||
data-position="bottom"
|
||||
target="_blank"
|
||||
href={file.url || file.preview}
|
||||
onClick={this.previewImage.bind(
|
||||
this,
|
||||
file,
|
||||
key
|
||||
)}
|
||||
>
|
||||
<Icon icon="view" className="icon" />
|
||||
</a>
|
||||
|
||||
{!!crop && !disabled ? (
|
||||
<a
|
||||
data-tooltip="裁剪图片"
|
||||
|
Loading…
Reference in New Issue
Block a user