Skip to content

Commit

Permalink
ver. 3.5.1
Browse files Browse the repository at this point in the history
  • Loading branch information
qili.taoqili committed Sep 9, 2019
1 parent 9cbe425 commit 989e340
Show file tree
Hide file tree
Showing 5 changed files with 11 additions and 9 deletions.
2 changes: 2 additions & 0 deletions HISTORY.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
# history

---
## 3.5.1
* `FIXED` fix a less path error

## 3.5.0

Expand Down
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ $ cd uxcore-uploader
$ npm start
```

see http://uxco.re/components/uploader/ for details.
see https://uxco.re/components/uploader/ for details.

上传组件, 封装[UploadCore](https://github.com/uxcore/uxcore-uploadcore/)核心组件, 作为UI层.

Expand Down Expand Up @@ -47,7 +47,7 @@ see http://uxco.re/components/uploader/ for details.
|queueCapcity | int | 0 | | 队列容量,0无限; |
|autoPending | bool | true | | 是否选择后自动等待上传 |
|multiple | bool | true | | 是否多选 |
|accept | string/array | null | | 允许文件类型, [chrome 下的已知问题](http://stackoverflow.com/questions/39187857/inputfile-accept-image-open-dialog-so-slow-with-chrome) |
|accept | string/array | null | | 允许文件类型, [chrome 下的已知问题](https://stackoverflow.com/questions/39187857/inputfile-accept-image-open-dialog-so-slow-with-chrome) |
|sizeLimit | size | 0 | | 文件大小限制, 0表示不限制 |
|preventDuplicate | bool | false | | 是否防止文件重复 |
|readOnly | bool | false | 3.0.0 | 是否以只读方式显示图片,有该属性时请fileList不能为空 |
Expand Down Expand Up @@ -80,7 +80,7 @@ Since 3.3.10 版本,当前已存在的文件列表数据不需要自己再组
name: 'My File',
ext: '.jpg',
fileType: 'image/jpg',
url: 'http://www.foo.bar/aaa.jpg',
url: 'https://www.foo.bar/aaa.jpg',
previewUrl: '', // 可选
canRemove: true // 可选
}
Expand Down
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "uxcore-uploader",
"version": "3.5.0",
"version": "3.5.1",
"description": "uxcore-uploader component for react",
"main": "build/index.js",
"scripts": {
Expand All @@ -24,7 +24,7 @@
"url": "[email protected]:uxcore/uxcore-uploader.git"
},
"bugs": {
"url": "http://github.com/uxcore/uxcore-uploader/issues"
"url": "https://github.com/uxcore/uxcore-uploader/issues"
},
"keywords": [
"react",
Expand Down
4 changes: 2 additions & 2 deletions src/Uploader.less
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
@__uploaderPrefixCls: kuma-upload;

@import "style/icon";
@import "style/progress";
@import "style/Icon";
@import "style/Progress";

@-webkit-keyframes kuxglow {
0% {
Expand Down
4 changes: 2 additions & 2 deletions tests/Uploader.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -48,9 +48,9 @@ describe('Uploader', () => {
response: {
success: true,
data: {
url: 'http://gdp.alicdn.com/tps/i2/T1k2HJXexjXXauUnsh-180-180.png',
url: 'https://gdp.alicdn.com/tps/i2/T1k2HJXexjXXauUnsh-180-180.png',
canRemove: true, // 是否可以删除,可选
downloadUrl: 'http://gdp.alicdn.com/tps/i2/T1k2HJXexjXXauUnsh-180-180.png', // 下载 URL,可选
downloadUrl: 'https://gdp.alicdn.com/tps/i2/T1k2HJXexjXXauUnsh-180-180.png', // 下载 URL,可选
},
},
}, {
Expand Down

0 comments on commit 989e340

Please sign in to comment.