From 0fc5a0ece5ae18b20fcf40de961db742e1a74952 Mon Sep 17 00:00:00 2001 From: afc163 Date: Mon, 21 May 2018 23:47:22 +0800 Subject: [PATCH] site: add alt to images --- components/upload/demo/avatar.md | 2 +- site/theme/template/Layout/Footer.jsx | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/components/upload/demo/avatar.md b/components/upload/demo/avatar.md index 7854268637..ab0a520c47 100644 --- a/components/upload/demo/avatar.md +++ b/components/upload/demo/avatar.md @@ -73,7 +73,7 @@ class Avatar extends React.Component { beforeUpload={beforeUpload} onChange={this.handleChange} > - {imageUrl ? : uploadButton} + {imageUrl ? avatar : uploadButton} ); } diff --git a/site/theme/template/Layout/Footer.jsx b/site/theme/template/Layout/Footer.jsx index 3009947524..1121481a75 100644 --- a/site/theme/template/Layout/Footer.jsx +++ b/site/theme/template/Layout/Footer.jsx @@ -226,7 +226,7 @@ class Footer extends React.Component {

- + AFX Cloud