|
|
@@ -193,14 +193,14 @@ const Client = props => {
|
|
|
dataIndex: 'phone',
|
|
|
key: 'phone',
|
|
|
width: 65,
|
|
|
- sorter: true
|
|
|
+ sorter: (a, b) => a.phone.localeCompare(b.phone)
|
|
|
},
|
|
|
{
|
|
|
title: '手机',
|
|
|
dataIndex: 'telephone',
|
|
|
key: 'telephone',
|
|
|
width: 75,
|
|
|
- sorter: true,
|
|
|
+ sorter: (a, b) => a.telephone.localeCompare(b.telephone),
|
|
|
search: false
|
|
|
},
|
|
|
{
|
|
|
@@ -208,7 +208,7 @@ const Client = props => {
|
|
|
dataIndex: 'qq',
|
|
|
key: 'qq',
|
|
|
width: 75,
|
|
|
- sorter: true,
|
|
|
+ sorter: (a, b) => a.qq.localeCompare(b.qq),
|
|
|
search: false
|
|
|
},
|
|
|
{
|
|
|
@@ -216,7 +216,7 @@ const Client = props => {
|
|
|
dataIndex: 'email',
|
|
|
key: 'email',
|
|
|
width: 75,
|
|
|
- sorter: true,
|
|
|
+ sorter: (a, b) => a.email.localeCompare(b.email),
|
|
|
search: false
|
|
|
},
|
|
|
{
|
|
|
@@ -321,7 +321,7 @@ const Client = props => {
|
|
|
key: 'address',
|
|
|
ellipsis: true,
|
|
|
width: 150,
|
|
|
- sorter: true,
|
|
|
+ sorter: (a, b) => a.address.localeCompare(b.address),
|
|
|
search: false
|
|
|
},
|
|
|
{
|