@sinoform/field-file-upload

附件上传字段模块

Usage no npm install needed!

<script type="module">
  import sinoformFieldFileUpload from 'https://cdn.skypack.dev/@sinoform/field-file-upload';
</script>

README

@sinoform/field-file-upload

附件上传字段模块

安装

yarn add @sinoform/field-file-upload

使用

form-config-builder 结合使用:

import fileUpload from '@sinoform/field-file-upload';
import FormConfigBuilder from '@sinoform/form-config-builder';
import base from '@sinoform/form-config-base';

FormConfigBuilder.from(base).addPlugin(fileUpload);