<ruby id="bdb3f"></ruby>

    <p id="bdb3f"><cite id="bdb3f"></cite></p>

      <p id="bdb3f"><cite id="bdb3f"><th id="bdb3f"></th></cite></p><p id="bdb3f"></p>
        <p id="bdb3f"><cite id="bdb3f"></cite></p>

          <pre id="bdb3f"></pre>
          <pre id="bdb3f"><del id="bdb3f"><thead id="bdb3f"></thead></del></pre>

          <ruby id="bdb3f"><mark id="bdb3f"></mark></ruby><ruby id="bdb3f"></ruby>
          <pre id="bdb3f"><pre id="bdb3f"><mark id="bdb3f"></mark></pre></pre><output id="bdb3f"></output><p id="bdb3f"></p><p id="bdb3f"></p>

          <pre id="bdb3f"><del id="bdb3f"><progress id="bdb3f"></progress></del></pre>

                <ruby id="bdb3f"></ruby>

                **JUpload 上傳組件文檔** [TOC] JUpload組件可以上傳文件和圖片。 ## 組件參數 | 參數 | 類型 | 必填 | 默認值 | 說明 | | --- | --- | --- | --- | --- | | value(v-model) | string / array | | '' | | | text | string | | '上傳' | 按鈕顯示文字 | | fileType | string | | 'all' | 定義上傳文件類型。<br>可選值:all、image。<br>如果傳image,則只能上傳圖片。 | | bizPath | string | | 'temp' | 用于控制文件上傳的業務路徑 | | returnUrl | bool | | true | 是否返回文件url。<br>true:僅返回文件url,多個url則逗號隔開;<br>false:返回json類型。{fileName:"1.doc",filePath:"/temp/1.doc",fileSize:200} | | multiple | bool | | true | 是否可以多選 | | maxCount | int | | 0 | 最大上傳數量,設為0即為不限制 | | buttonVisible | bool | | true | 是否顯示上傳按鈕(僅all模式下生效) | | mover | bool | | true | 是否顯示左右移動按鈕 | | download| bool | | true | 是否顯示下載按鈕 | | removeConfirm | bool | | false | 刪除時是否二次確認 | | disabled | bool | | false | 是否禁用 | | beforeUpload| function| | | 上傳前方法,返回promise對象 | >[info] 更多參數見:[Upload 上傳](https://2x.antdv.com/components/upload-cn/#API) ![](https://img.kancloud.cn/d7/11/d7118b781e4fd2c5ec61eafec2b52a15_385x282.png) ## 效果展示 ![](https://img.kancloud.cn/91/91/9191b912254e3294c20ab62395101dec_627x387.png) ## 使用示例 ``` js const schemas: FormSchema[] = [ { field: 'uploadFile', component: 'JUpload', helpMessage: '無限制上傳', label: '上傳文件', }, { field: 'uploadFileMax', component: 'JUpload', helpMessage: '最多上傳3個文件', label: '上傳文件(3)', componentProps: { maxCount: 3 }, }, { field: 'uploadImage', component: 'JUpload', label: '上傳圖片', helpMessage: '無限制上傳', componentProps: { fileType: UploadTypeEnum.image, }, }, { field: 'uploadImageMax', component: 'JUpload', label: '上傳圖片(1)', helpMessage: '最多上傳1張圖片', componentProps: { fileType: UploadTypeEnum.image, maxCount: 1, }, }, ] ```
                  <ruby id="bdb3f"></ruby>

                  <p id="bdb3f"><cite id="bdb3f"></cite></p>

                    <p id="bdb3f"><cite id="bdb3f"><th id="bdb3f"></th></cite></p><p id="bdb3f"></p>
                      <p id="bdb3f"><cite id="bdb3f"></cite></p>

                        <pre id="bdb3f"></pre>
                        <pre id="bdb3f"><del id="bdb3f"><thead id="bdb3f"></thead></del></pre>

                        <ruby id="bdb3f"><mark id="bdb3f"></mark></ruby><ruby id="bdb3f"></ruby>
                        <pre id="bdb3f"><pre id="bdb3f"><mark id="bdb3f"></mark></pre></pre><output id="bdb3f"></output><p id="bdb3f"></p><p id="bdb3f"></p>

                        <pre id="bdb3f"><del id="bdb3f"><progress id="bdb3f"></progress></del></pre>

                              <ruby id="bdb3f"></ruby>

                              哎呀哎呀视频在线观看