element-ui upload组件 onchange事件 传自定义参数
2024-08-27 06:35:50
<el-upload
class="upload-demo"
list-type="picture"
accept="image/*"
:show-file-list="false"
:multiple="false"
:auto-upload="false"
action="https://jsonplaceholder.typicode.com/posts/"
:on-change="(file, fileList) => {handleChange(file, fileList, item)}"
:on-preview="handlePreview">
<a size="small" type="primary">点击修改</a>
</el-upload>
其中item为自定义参数
最新文章
- 【转】C#调用Windows图片和传真查看器打开图片
- CSS3橙色的星球绕轨道公转动画
- C# 线程系列三 定时器线程
- linux负载均衡总结性说明(四层负载/七层负载)
- php5.4.3连接SQLite3
- sql中的or的用法说明
- Linux+svn无法显示日志
- NET笔试题集
- 【Java技术位】——代理模式及其事务包
- Pydev for eclipse 安装及配置
- java ArrayList 踩坑记录
- linux网络、性能相关命令
- poj 1039
- C# 关于变量使用范围容易犯错的问题(TreeView数据绑定为例)
- NLR:利用非线性回归,梯度下降法求出学习参数θ,进而求得Cost函数最优值——Jason niu
- ADO.NET分享
- git clone报错:“server certificate verification failed. CAfile: /etc/ssl/certs/ca-certificates.crt CRLfile: none”
- win10下关于apache配置虚拟主机
- libcurl 接口调用方式
- CentOs 设置静态IP 方法[测试没问题]