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} - - }) - } - + }) + } + + : }