zan-upload
Advanced tools
Comparing version 4.4.1 to 4.5.1
@@ -186,3 +186,3 @@ 'use strict'; | ||
className: 'close-modal small', | ||
onClick: _this2.removeLocalImage.bind(_this2, item) | ||
onClick: _this2.removeLocalImage.bind(_this2, index) | ||
}, | ||
@@ -189,0 +189,0 @@ '\xD7' |
{ | ||
"name": "zan-upload", | ||
"version": "4.4.1", | ||
"version": "4.5.1", | ||
"description": "这是一个React组件", | ||
@@ -15,5 +15,2 @@ "main": "./lib/index.js", | ||
"files": [ | ||
"src/", | ||
"assets/", | ||
"examples/", | ||
"lib/", | ||
@@ -20,0 +17,0 @@ "dist/" |
@@ -255,6 +255,6 @@ ## zan-upload | ||
| categoryListUrl | 自定义素材银行分组列表url [GET] | string | `'//materials.youzan.com/category/categoryList.json'` | 否 | | ||
| fetchUrl | 自定义提取网络图片url [POST] | string | `'//materials.youzan.com/dock/fetch.json'` | 否 | | ||
| fetchUrl | 自定义提取网络图片url [POST] | string | `''` | 是 | | ||
| onFetchUrl | 自定义提取图片的处理函数,需要返回一个promise | func | undefined | 否 | | ||
| tokenUrl | 自定义上传图片token的url [POST] | string | `'//materials.youzan.com/dock/token.json'` | 否 | | ||
| tokenUrl | 自定义上传图片token的url [POST] | string | `''` | 是 | | ||
| uploadUrl | 自定义上传图片url [POST] | string | `'//upload.qbox.me'` | 否 | | ||
| triggerClassName | 重写trigger样式 | string | `'rc-upload-trigger'` | 否 | |
Sorry, the diff of this file is too big to display
797486
14
22184