This commit is contained in:
liushiwei
2023-08-23 17:54:43 +08:00
parent 3bd2c7d246
commit 359eeb65c3
3 changed files with 12 additions and 9 deletions

View File

@@ -297,6 +297,7 @@ import { Message } from 'element-ui'
align: 'center',
sortable: true,
'sort-method': (a, b) => {
console.log('1、' + a[dateStr] + ' 2、' + b[dateStr])
return new Number(a[dateStr]) - new Number(b[dateStr])
}})
}