当前位置:网站首页>el-table,el-table-column,selection,获取多选选中的数据
el-table,el-table-column,selection,获取多选选中的数据
2022-08-05 05:13:00 【xx820702】
<el-table @selection-change="handleSelectCodeForTicket" :data="tableData" :height="tableHeight" >
<el-table-column
type="selection"
width="50">
</el-table-column>
</el-table>
Selection: [],
methods: {
// 选择
handleSelectCodeForTicket (val) {
console.log(val)
this.Selection = []
val.forEach(v => {
this.Selection.push(v.code)
})
}
}
边栏推荐
- Error creating bean with name 'configDataContextRefresher' defined in class path resource
- 分布式和集群
- Community Sharing|Tencent Overseas Games builds game security operation capabilities based on JumpServer
- [Student Graduation Project] Design and Implementation of the Website Based on the Web Student Information Management System (13 pages)
- 机器学习(二) —— 机器学习基础
- [Decoding tools] Some online tools for Bitcoin
- ESP32 485 Illuminance
- Pandas(五)—— 分类数据、读取数据库
- 【过一下9】卷积
- Opencv中,imag=cv2.cvtColor(imag,cv2.COLOR_BGR2GRAY) 报错:error:!_src.empty() in function ‘cv::cvtColor‘
猜你喜欢
【练一下1】糖尿病遗传风险检测挑战赛 【讯飞开放平台】
【过一下14】自习室的一天
server disk array
[Study Notes Dish Dog Learning C] Classic Written Exam Questions of Dynamic Memory Management
coppercam入门手册[6]
vscode+pytorch使用经验记录(个人记录+不定时更新)
Using pip to install third-party libraries in Pycharm fails to install: "Non-zero exit code (2)" solution
DOM and its applications
The mall background management system based on Web design and implementation
第三讲 Gradient Tutorial梯度下降与随机梯度下降
随机推荐
Calling Matlab configuration in pycharm: No module named 'matlab.engine'; 'matlab' is not a package
CAP+BASE
分布式和集群
redis事务
【过一下4】09-10_经典网络解析
位运算符与逻辑运算符的区别
Judgment statement _switch and case
Transformation 和 Action 常用算子
多线程查询结果,添加List集合
CAP+BASE
数据库 单表查询
redis复制机制
Matplotlib(二)—— 子图
【技能】长期更新
NodeJs接收上传文件并自定义保存路径
phone call function
ES6 Set、WeakSet
ESP32 485 Illuminance
Using QR codes to solve fixed asset management challenges
SQL(一) —— 增删改查