From 5c22e32db894edceb2304819b8e9a0e8dc75a2fa Mon Sep 17 00:00:00 2001 From: afc163 Date: Thu, 18 Feb 2016 11:43:24 +0800 Subject: [PATCH] Add link for uploadItem when file.url is existed, close #1013 --- components/upload/uploadList.jsx | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/components/upload/uploadList.jsx b/components/upload/uploadList.jsx index dfe8d9db65..8afe60e951 100644 --- a/components/upload/uploadList.jsx +++ b/components/upload/uploadList.jsx @@ -86,7 +86,9 @@ export default React.createClass({
{icon} - {file.name} + {file.url + ? {file.name} + : {file.name}} { this.props.listType === 'picture-card' && file.status !== 'uploading' ? (