From f32d2d2879a77210ae74a634a3899babeb161bae Mon Sep 17 00:00:00 2001 From: cll <931958862@qq.com> Date: Mon, 21 Jul 2025 09:27:02 +0800 Subject: [PATCH] =?UTF-8?q?=E5=BC=80=E6=94=BE=E5=AE=A2=E6=88=B7=E5=88=97?= =?UTF-8?q?=E8=A1=A8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .umirc.ts | 1 - src/pages/Customer/List/index.tsx | 6 ++++++ 2 files changed, 6 insertions(+), 1 deletion(-) 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',