From 35318bb33305e188e96f202c90c1d894cd3cbdf8 Mon Sep 17 00:00:00 2001 From: xuan Date: Thu, 23 Feb 2023 19:08:40 +0800 Subject: [PATCH] =?UTF-8?q?=F0=9F=90=9E=20fix(=E8=89=B2=E5=8D=A1):=20?= =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E6=97=A0=E6=B3=95=E6=98=BE=E7=A4=BA=E7=9A=84?= =?UTF-8?q?=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../components/itemList/index.tsx | 4 ++-- src/pages/user/index.tsx | 24 +++++++++---------- 2 files changed, 14 insertions(+), 14 deletions(-) diff --git a/src/pages/getColorCard/components/itemList/index.tsx b/src/pages/getColorCard/components/itemList/index.tsx index 894bfa2..87a4023 100644 --- a/src/pages/getColorCard/components/itemList/index.tsx +++ b/src/pages/getColorCard/components/itemList/index.tsx @@ -49,11 +49,11 @@ const ItemList = (props: PropsType) => { - {data.color_card_info[0].name} + {data.color_card_info[0]?.name} {data.shipment_mode_name} - x{data.color_card_info[0].count || 0}本 + x{data.color_card_info[0]?.count || 0}本 diff --git a/src/pages/user/index.tsx b/src/pages/user/index.tsx index 0d2e6d3..176c692 100644 --- a/src/pages/user/index.tsx +++ b/src/pages/user/index.tsx @@ -80,18 +80,18 @@ const feature: IconCardType[] = [ path: '/pages/customerManagement/index', jurisdiction: 'customer_list_page', }, - { - iconName: 'icon-lingquseka', - name: '领取色卡', - path: '/pages/getColorCard/index', - jurisdiction: 'ignore', - }, - { - iconName: 'icon-jianyang', - name: '领取剪样', - path: '/pages/sampleCutting/index', - jurisdiction: 'ignore', - }, + // { + // iconName: 'icon-lingquseka', + // name: '领取色卡', + // path: '/pages/getColorCard/index', + // jurisdiction: 'ignore', + // }, + // { + // iconName: 'icon-jianyang', + // name: '领取剪样', + // path: '/pages/sampleCutting/index', + // jurisdiction: 'ignore', + // }, ] const fabric: IconCardType[] = [