diff --git a/components/upload/index.jsx b/components/upload/index.jsx index bb7d259a9a..52edc5e121 100644 --- a/components/upload/index.jsx +++ b/components/upload/index.jsx @@ -14,7 +14,7 @@ function fileToObject(file) { return { lastModified: file.lastModified, lastModifiedDate: file.lastModifiedDate, - name: file.name, + name: file.filename || file.name, size: file.size, type: file.type, uid: file.uid, diff --git a/package.json b/package.json index 8521a8e022..060355100e 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "antd", - "version": "0.9.1-beta9", + "version": "0.9.1-beta10", "stableVersion": "0.9.0", "title": "Ant Design", "description": "一个 UI 设计语言",