el-table-column最小宽度
时间: 2023-09-08 14:16:06 浏览: 199
el-table-column最小宽度可以通过动态绑定的方式进行设置。在代码中可以看到使用了:min-width="$$(widthEnum, [index], 'width')"来设置最小宽度。其中,widthEnum是一个对象,它包含了每一个el-table-column对应的最小宽度值。可以根据具体需求在widthEnum中设置每个列的最小宽度。通过这种方式,可以实现el-table-column的最小宽度的设置。<span class="em">1</span><span class="em">2</span><span class="em">3</span>
#### 引用[.reference_title]
- *1* [VUE进阶之自定义表格每一列的宽度](https://blog.csdn.net/m0_37686209/article/details/125488656)[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_2"}}] [.reference_item style="max-width: 33.333333333333336%"]
- *2* [el-table表格宽度自适应设置](https://blog.csdn.net/Fansr_/article/details/130420604)[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_2"}}] [.reference_item style="max-width: 33.333333333333336%"]
- *3* [改变el-table宽度](https://download.csdn.net/download/qsj0606/13662215)[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_2"}}] [.reference_item style="max-width: 33.333333333333336%"]
[ .reference_list ]
阅读全文