0.1.5 • Published 7 years ago

pagination-qm v0.1.5

Weekly downloads
1
License
MIT
Repository
-
Last release
7 years ago

cnpm install upload-img-qm --save-dev

My 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张图片

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

<UploadImg action={this.props.actions.uploadimg} uploadUrl="http://192.168.5.2:9002/noa/image/resource/upload" editImgs={editimg} maxnum={5}/>

LICENSE

MIT

0.1.5

7 years ago

0.1.4

7 years ago

0.1.3

7 years ago

0.1.2

7 years ago

0.1.0

7 years ago

0.0.9

7 years ago

0.0.8

7 years ago

0.0.7

7 years ago

0.0.6

7 years ago

0.0.5

7 years ago

0.0.4

7 years ago

0.0.3

7 years ago

0.0.2

7 years ago

0.0.1

7 years ago