提交 169aa40e authored 作者: lihuihui's avatar lihuihui

修改bug

上级 054967a3
......@@ -342,7 +342,7 @@ export default {
computed: {
sorts() {
return function(data) {
const dSort = Array.isArray(data) ? data.slice().sort() : ''
const dSort = Array.isArray(data) ? data.slice().sort() : data
// console.log(data.sort, '======').toString().replace(new RegExp(',', 'g'), '')
return dSort.toString().replace(new RegExp(',', 'g'), '')
}
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论