Browse Source

Merge pull request #426 from Pyiner/master

fix `_target` to `target`
pull/458/head
偏右 9 years ago
parent
commit
b9c7fdaaf9
  1. 2
      components/upload/uploadList.jsx

2
components/upload/uploadList.jsx

@ -29,7 +29,7 @@ export default React.createClass({
<i className={'anticon anticon-check ' + prefixCls + '-success-icon'}></i> :
<i className="anticon anticon-loading"></i>;
let filename = file.url ?
<a className={prefixCls + '-item-name'} href={file.url} _target="_blank">{file.name}</a> :
<a className={prefixCls + '-item-name'} href={file.url} target="_blank">{file.name}</a> :
<b className={prefixCls + '-item-name'}>{file.name}</b>;
return (
<div className={prefixCls + '-list-item'} key={file.uid}>

Loading…
Cancel
Save