elment表格sort-method自定义排序功能_vue sort-method_真的不想哇的博客-CSDN博客

网站介绍:文章浏览阅读2.1k次。点击排序箭头来调取接口进行数据排序在el-table表格中写入点击事件@sort-change=“changeTableSort”默认以什么单位进行倒序还是顺序排序,prop对应这字段:default-sort = “{prop: ‘ptuid’, order: 'ascending '}”在表格中要写入 :sortable="‘custom’"<el-table border stripe v-loading="loading" ref="multipleT.._vue sort-method