Saber 表单Form如何一次性上传多个图片

Blade 未结 1 1012
xiaoshitou
xiaoshitou 剑童 2020-06-18 13:50

一、该问题的重现步骤是什么?

1.  

column: [
  {
    label: "证件信息",
    prop: "url",
    type: 'upload',
    listType: 'picture-img',
    action: '/api/blade-resource/oss/endpoint/put-file',
    propsHttp: {
      res: 'data',
      url: 'link',
    },
    hide: true,
    span: 24,
  },
]

2.  这只能上传一张, 如何可以添加多张图片呢

3.

dataType数据的类型转换也就是数组和用逗号隔开的字符串(适用于checkbox/select多选/tree多选/img/array/upload)Stringnumber/string-

在文档中看到有array



1条回答
提交回复