From bd53e19526276dc11d50abe8ad88e3b65ddce9cf Mon Sep 17 00:00:00 2001 From: xuan Date: Fri, 24 Feb 2023 19:10:51 +0800 Subject: [PATCH] =?UTF-8?q?=F0=9F=90=9E=20fix(ID1001344):=20=E3=80=90?= =?UTF-8?q?=E5=86=85=E9=83=A8=E5=95=86=E5=9F=8E=E3=80=91-=E5=8A=9F?= =?UTF-8?q?=E8=83=BD{=E6=B7=BB=E5=8A=A0=E5=89=AA=E6=A0=B7}=EF=BC=9A?= =?UTF-8?q?=E5=89=AA=E6=A0=B7=E4=B8=8D=E8=83=BD=E5=AE=8C=E5=85=A8=E5=91=88?= =?UTF-8?q?=E7=8E=B0=EF=BC=8C=E4=B8=8A=E5=88=92=E8=AF=A5=E9=A1=B5=E9=9D=A2?= =?UTF-8?q?=E6=97=A0=E5=8F=8D=E5=BA=94?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 【【内部商城】-功能{添加剪样}:剪样不能完全呈现,上划该页面无反应】 https://www.tapd.cn/53459131/bugtrace/bugs/view/1153459131001001344 --- project.private.config.json | 7 +++ .../sampleCutting/sampleCuttingList/index.tsx | 48 ++++++++++--------- 2 files changed, 32 insertions(+), 23 deletions(-) diff --git a/project.private.config.json b/project.private.config.json index b5640f2..807fae9 100644 --- a/project.private.config.json +++ b/project.private.config.json @@ -30,6 +30,13 @@ "query": "id=1", "launchMode": "default", "scene": null + }, + { + "name": "", + "pathName": "pages/sampleCutting/sampleCuttingList/index", + "query": "", + "launchMode": "default", + "scene": null } ] } diff --git a/src/pages/sampleCutting/sampleCuttingList/index.tsx b/src/pages/sampleCutting/sampleCuttingList/index.tsx index 5484841..2f8da32 100644 --- a/src/pages/sampleCutting/sampleCuttingList/index.tsx +++ b/src/pages/sampleCutting/sampleCuttingList/index.tsx @@ -298,30 +298,32 @@ const SampleCuttingList = () => { { productList.length - ? - { - productList?.map((item, index) => { - const isChecked = productMultipleSelection.some(mul => mul.product_color_id === item.product_color_id) - return handleClickProductColor(item)}> - - { - isChecked - ? - - - : null - } - + ? + + { + productList?.map((item, index) => { + const isChecked = productMultipleSelection.some(mul => mul.product_color_id === item.product_color_id) + return handleClickProductColor(item)}> + + { + isChecked + ? + + + : null + } + + + {item.product_color_name} - {item.product_color_name} - - }) - } - + }) + } + + : }