type="selection"
时间: 2023-10-02 07:10:31 浏览: 100
select样式
在这个上下文中,type="selection"是用来在el-table中添加一个复选框列的属性。复选框列允许用户选择表格中的多个行,以进行批量操作。在示例代码中,type="selection"被用于创建一个宽度为55的复选框列。这个复选框列可以通过v-model来控制选中的行,并且可以使用@selection-change来监听选中行的变化。<span class="em">1</span><span class="em">2</span><span class="em">3</span>
#### 引用[.reference_title]
- *1* [vue+element+Java实现批量删除功能](https://download.csdn.net/download/weixin_38633157/13976621)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v93^chatsearchT3_1"}}] [.reference_item style="max-width: 50%"]
- *2* *3* [el-table(type=“selection“)多选框两种回显](https://blog.csdn.net/qq_50276105/article/details/128307456)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v93^chatsearchT3_1"}}] [.reference_item style="max-width: 50%"]
[ .reference_list ]
阅读全文