Skip to the content.

返回

JUpload

组件路径: src/components/jeecg/JUpload.vue

其他说明:

使用示例:

<j-upload 
  biz-path="上传的路径"
  text="按钮名称"
  file-type="all|image|file"
  accept-type=".jpg, .jpeg, .png, .gif, .bmp, .svg, .tiff, .webp, image/*"
  split-char=","
  custom-upload-action="自定义上传地址,留空则使用默认接口"
  :do-compress="true"
  :zip-percent="0.7"
  :zip-enable-size="2"
  :disabled="false"
  :button-visible="true"
  :trigger-change="true"
  :return-url="true"
  :number="10"
  @change="e => onChange(e)"
  @showVideo="e => showVideo(e)"
  v-decorator="['xxx', validatorRules.xxx]"
></j-upload>

修改历史: