sortable ></el-table-column> </el-table> </template> <script> export default { data() { return { tableData: [ { number: 3 }, { number: 1 }, { number: 2 } ] }; }, methods: { handleSortChange({ column, prop, order }) { console.log(`当前排序列:${column.label},排序字段...
sortable="custom"> </el-table-column> </el-table> methods: { // 从后台获取数据,重新排序 changeSort (val) { console.log(val) // column: {…} order: "ascending" prop: "date" ...
el-table-column sortable="custom" 设置为远端排序对sort-change事件进行监听,在连续点击排序表头,有时候会出现 Object {column: null, prop: null, order: null}column: nullorder: nullprop: null__proto__: Object undefined undefined 这种获取不到任何参数的情况 What is Expected? 尽快排查下此问题 What i...
sortable="custom" ></el-table-column> <el-table-column prop="name" label="姓名" ></el-table-column> </el-table> </template> <script> export default { data() { return { tableData: [ { date: '2023-06-20', name: '张三' }, { date: '2023-06-19', name: '李四' }, { dat...