Skip to content

Magic-Academy/ImageUpload

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 

Repository files navigation

ImageUpload

elementUI el-upload 二次封装组件

使用方式

使用前请先安装elementUI
elementUI官方

例:

  <imageUpload :disabled="disabled" v-model="imgs" :isShowTip="false" :limit="1" />

中文

disabled为是否被禁用,默认为false
imgs为图片数据,可以传[String, Object, Array],上传返回v-model="imgs" ,上传之后imgs为String
limit为上传图片的数量


English

disabled is whether it is disabled, the default is false
imgs is image data, you can pass [String, Object, Array], upload returns v-model="imgs", after uploading imgs is String
limit is the number of uploaded images

About

elementUI el-upload 二次封装组件

Resources

Code of conduct

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages