site: add alt to images

This commit is contained in:
afc163 2018-05-21 23:47:22 +08:00
parent 6458280cb3
commit 0fc5a0ece5
2 changed files with 2 additions and 2 deletions

View File

@ -73,7 +73,7 @@ class Avatar extends React.Component {
beforeUpload={beforeUpload}
onChange={this.handleChange}
>
{imageUrl ? <img src={imageUrl} alt="" /> : uploadButton}
{imageUrl ? <img src={imageUrl} alt="avatar" /> : uploadButton}
</Upload>
);
}

View File

@ -226,7 +226,7 @@ class Footer extends React.Component {
<Col md={6} sm={24} xs={24}>
<div className="footer-center">
<h2>
<img className="title-icon" src="https://gw.alipayobjects.com/zos/rmsportal/nBVXkrFdWHxbZlmMbsaH.svg" alt="" />
<img className="title-icon" src="https://gw.alipayobjects.com/zos/rmsportal/nBVXkrFdWHxbZlmMbsaH.svg" alt="AFX Cloud" />
<FormattedMessage id="app.footer.more-product" />
</h2>
<div>