当前位置:网站首页>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)
})
}
}边栏推荐
- range函数作用
- redis cache clearing strategy
- Basic properties of binary tree + oj problem analysis
- Multi-threaded query results, add List collection
- 02.01-----The role of parameter reference "&"
- 【过一下15】学习 lstm的一周
- Using QR codes to solve fixed asset management challenges
- Distributed systems revisited: there will never be a perfect consistency scheme...
- ES6 生成器
- day9-字符串作业
猜你喜欢

第5讲 使用pytorch实现线性回归

【NFT网站】教你制作开发NFT预售网站官网Mint作品

Using QR codes to solve fixed asset management challenges
![[Go through 3] Convolution & Image Noise & Edge & Texture](/img/7b/2214020cadf06d9211fd40fb5f1b63.png)
[Go through 3] Convolution & Image Noise & Edge & Texture

【过一下9】卷积

Multi-threaded query results, add List collection

Difference between for..in and for..of

vscode+pytorch使用经验记录(个人记录+不定时更新)

将照片形式的纸质公章转化为电子公章(不需要下载ps)

数据库实验五 备份与恢复
随机推荐
【过一下12】整整一星期没记录
实现跨域的几种方式
2022 The 4th C.Easy Counting Problem (EGF+NTT)
Flink 状态与容错 ( state 和 Fault Tolerance)
【过一下11】随机森林和特征工程
Pandas(五)—— 分类数据、读取数据库
【过一下4】09-10_经典网络解析
将照片形式的纸质公章转化为电子公章(不需要下载ps)
鼠标放上去变成销售效果
Develop a highly fault-tolerant distributed system
对数据排序
es6迭代协议
el-table鼠标移入表格改变显示背景色
The software design experiment four bridge model experiment
浅谈Servlet生命周期
Distributed systems revisited: there will never be a perfect consistency scheme...
学习总结week2_2
Returned object not currently part of this pool
学习总结week3_1函数
周末作业-循环练习题(2)