直接看代码
sorter: (a, b) => {
if(a.name === data[0].name || b.name === data[0].name) return 0;
return a.name.length - b.name.length
},
直接看代码
sorter: (a, b) => {
if(a.name === data[0].name || b.name === data[0].name) return 0;
return a.name.length - b.name.length
},