当前位置:网站首页>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)
})
}
}边栏推荐
- 【过一下6】机器视觉视频 【过一下2被挤掉了】
- Opencv中,imag=cv2.cvtColor(imag,cv2.COLOR_BGR2GRAY) 报错:error:!_src.empty() in function ‘cv::cvtColor‘
- Flex layout frog game clearance strategy
- phone call function
- CAP+BASE
- es6迭代协议
- [Software Exam System Architect] Software Architecture Design ③ Domain-Specific Software Architecture (DSSA)
- Pycharm中使用pip安装第三方库安装失败:“Non-zero exit code (2)“的解决方法
- "PHP8 Beginner's Guide" A brief introduction to PHP
- HQL statement execution process
猜你喜欢

数据库 单表查询
![[Study Notes Dish Dog Learning C] Classic Written Exam Questions of Dynamic Memory Management](/img/0b/f7d9205c616f7785519cf94853d37d.png)
[Study Notes Dish Dog Learning C] Classic Written Exam Questions of Dynamic Memory Management

The software design experiment four bridge model experiment

【Transfer】What is etcd

【过一下14】自习室的一天

第三讲 Gradient Tutorial梯度下降与随机梯度下降

第四讲 back propagation 反向传播
![[Student Graduation Project] Design and Implementation of the Website Based on the Web Student Information Management System (13 pages)](/img/86/9c9a2541f2b7089ae47e9832fffdb3.png)
[Student Graduation Project] Design and Implementation of the Website Based on the Web Student Information Management System (13 pages)

Using pip to install third-party libraries in Pycharm fails to install: "Non-zero exit code (2)" solution

CAP+BASE
随机推荐
位运算符与逻辑运算符的区别
Lecture 5 Using pytorch to implement linear regression
小白一枚各位大牛轻虐虐
【过一下15】学习 lstm的一周
学习总结week3_3迭代器_模块
2022杭电多校第一场01
【过一下 17】pytorch 改写 keras
Lecture 2 Linear Model Linear Model
pycharm中调用Matlab配置:No module named ‘matlab.engine‘; ‘matlab‘ is not a package
redis事务
学习总结day5
【过一下16】回顾一下七月
第二讲 Linear Model 线性模型
day9-字符串作业
Judgment statement _switch and case
Wise Force Deleter强制删除工具
[Software Exam System Architect] Software Architecture Design ③ Domain-Specific Software Architecture (DSSA)
Using pip to install third-party libraries in Pycharm fails to install: "Non-zero exit code (2)" solution
HQL语句执行过程
1.3 mysql批量插入数据