Avue表格应用自定义
时间: 2023-09-11 07:09:37 浏览: 96
Avue表格可以应用自定义的功能,可以通过添加class来全局监听表格的尺寸,并在系统初始化时运行。\[1\]如果想要自定义编辑按钮的方法,可以使用handleEdit方法,并在该方法中调用$refs.crud.rowEdit(row, index)来实现编辑功能。\[2\]另外,可以使用自定义插槽来实现自定义功能,例如在插槽中添加条件判断,然后在点击按钮时调用handleEdit方法来实现编辑功能。\[3\]
#### 引用[.reference_title]
- *1* [便利贴--22{Avue表格自定义以及适应高度}](https://blog.csdn.net/hacker12356/article/details/122879630)[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^v91^insert_down1,239^v3^insert_chatgpt"}} ] [.reference_item]
- *2* *3* [avue-crud 通过行状态来自定义显示编辑按钮](https://blog.csdn.net/Curry_On/article/details/121249002)[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^v91^insert_down1,239^v3^insert_chatgpt"}} ] [.reference_item]
[ .reference_list ]
阅读全文