New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

input-image-l

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

input-image-l

<!-- * @Author: liuyang_hand papa909@163.com * @Date: 2023-07-03 13:47:20 * @LastEditors: liuyang_hand papa909@163.com * @LastEditTime: 2023-08-29 14:36:45 * @FilePath: /de-0506_app_scp_framework/src/modules/scp/components/imgForm/README.md * @Descr

latest
npmnpm
Version
1.0.0
Version published
Maintainers
1
Created
Source

##ImgForm

引用

import ImgForm from 'reactplus'

代码

<ImgForm 
    axios={axios}
    postUrl={`${env.baseUrl}/api-dev/ppmw-msa-tcr/File/uploadFile`} fileLists={fileLists2} type={type} 
                    labelWidth={"110px"} textAlign={"right"} isRequired={true}
                    onSetPic={(changedValues) => this.onSetPic2(changedValues)}></ImgForm>
 
       

参数说明 axios:axios postUrl:附件上传地址 fileLists:附件回显(初始化)内容 type: 表单状态 add、edit、show labelWidth: label宽度 labelValue: label内容 isRequired: 是否显示* onSetPic: 数据回传 maxCount: 限制上传数量。当为 1 时,始终用最新上传的文件代替当前文件

FAQs

Package last updated on 27 Sep 2023

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts