当前位置:网站首页>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)
})
}
}边栏推荐
- Flink accumulator Counter 累加器 和 计数器
- 2022杭电多校第一场01
- Convert the paper official seal in the form of a photo into an electronic official seal (no need to download ps)
- 【After a while 6】Machine vision video 【After a while 2 was squeezed out】
- The underlying mechanism of the class
- 02.01-----参数的引用的作用“ & ”
- Flex layout frog game clearance strategy
- Basic properties of binary tree + oj problem analysis
- vscode+pytorch使用经验记录(个人记录+不定时更新)
- Structured Light 3D Reconstruction (2) Line Structured Light 3D Reconstruction
猜你喜欢

Lecture 2 Linear Model Linear Model

DOM及其应用

The mall background management system based on Web design and implementation

Using QR codes to solve fixed asset management challenges

Pycharm中使用pip安装第三方库安装失败:“Non-zero exit code (2)“的解决方法

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

RL reinforcement learning summary (1)

【NFT开发】设计师无技术基础保姆级开发NFT教程在Opensea上全套开发一个NFT项目+构建Web3网站
![[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)

CAP+BASE
随机推荐
第四讲 反向传播随笔
2022 Hangzhou Electric Multi-School 1st Session 01
number_gets the specified number of decimals
Multi-threaded query results, add List collection
Basic properties of binary tree + oj problem analysis
ES6 Set、WeakSet
机器学习(一) —— 机器学习基础
Flink accumulator Counter 累加器 和 计数器
Pycharm中使用pip安装第三方库安装失败:“Non-zero exit code (2)“的解决方法
HQL statement execution process
day8字典作业
RL reinforcement learning summary (1)
将照片形式的纸质公章转化为电子公章(不需要下载ps)
The software design experiment four bridge model experiment
解决端口占用问题
怎么更改el-table-column的边框线
Wise Force Deleter强制删除工具
【过一下4】09-10_经典网络解析
server disk array
UVA10827