diff --git a/.umirc.ts b/.umirc.ts index 9e23975..23bb8be 100644 --- a/.umirc.ts +++ b/.umirc.ts @@ -116,7 +116,6 @@ export default defineConfig({ { name: '客户管理', path: '/customer', - access: 'canSeeAdmin', routes: [ { name: '客户列表', diff --git a/src/pages/Customer/List/index.tsx b/src/pages/Customer/List/index.tsx index ab0b772..3851c5a 100644 --- a/src/pages/Customer/List/index.tsx +++ b/src/pages/Customer/List/index.tsx @@ -89,6 +89,12 @@ const ListPage: React.FC = () => { hideInSearch: true, sorter: true, }, + { + title: 'phone', + dataIndex: 'phone', + hideInSearch: true, + render: (_, record) => record?.billing.phone || record?.shipping.phone, + }, { title: 'state', dataIndex: 'state',