Skip to content

ymrdf/vue-mobile-avatar-upload

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

vue-image-crop-upload

A mobile component used for cropping and uploading avatar;

Install

npm

$ npm install vue-mobile-avatar-upload

Usage

Props

Name Type Default Description
action String '' Server path, If empty, will not be uploaded
maxSize Number 6000 the maximum of image's size.
language String en language,'zh'(chinese),'en'(english)

Events

Name Description
onBegin image begin upload
onSuccess upload success, params( response )
onError upload fail, params( status )

About

A mobile component used for cropping and uploading avatar;

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published