摘要: Vue之element table 后端排序实现 1、如果需要后端排序,需将sortable设置为custom,同时在 Table 上监听sort-change事件,在事件回调中可以获取当前排序的字段名和排序顺序,从而向接口请求排序后的表格数据。 <el-table @sort-change='ta 阅读全文
posted @ 2019-08-19 15:16 长空雁叫霜晨月 阅读(4188) 评论(0) 推荐(0) 编辑