npm install upload-img-qmMy github @qmpans
#### if you want to use,do it;
uploadUrl [MUST]
--上传图片的地址,必须要有
editImgs [NOT MUST]
--是否为编辑图片,如果不传则为上传图片,传值则为编辑图片
---编辑图片的格式为 array|[] 数组形式传入
action [MUST]
--选择图片后改变redux的stroe的action方法,详见redux-act插件的使用方法
maxnum [NOT MUST]
--最多可以上传多少张图片,不填默认为5张图片
disabledel [NOT MUST]
--是否禁止删除图片
const editimg=['http://google.com.hk/2.jpg','http://google.com.hk/2.jpg']
uploadimg is a function to dispath one action to change redux stroe,then you can get changedata from redux
LICENSE
MIT