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[] = [