From 13482814bbd263e42230fcc16ba49395183848e2 Mon Sep 17 00:00:00 2001 From: Haiyi <1021441632@qq.com> Date: Fri, 9 Dec 2022 14:37:23 +0800 Subject: [PATCH] =?UTF-8?q?=F0=9F=90=9E=20fix(ID1000955):=E5=8A=A0?= =?UTF-8?q?=E5=85=A5=E8=B4=AD=E7=89=A9=E8=BD=A6=EF=BC=8C=E5=A4=A7=E8=B4=A7?= =?UTF-8?q?=E7=B1=BB=E5=9E=8Broll=E5=AD=97=E6=AE=B5=E5=81=B6=E5=B0=94?= =?UTF-8?q?=E4=B8=BA=E5=AD=97=E7=AC=A6=E4=B8=B2=E6=A0=BC=E5=BC=8F=E5=AF=BC?= =?UTF-8?q?=E8=87=B4=E6=8F=90=E4=BA=A4=E5=87=BA=E9=94=99?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/pages/searchPage/index.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/pages/searchPage/index.tsx b/src/pages/searchPage/index.tsx index c9ba099..67b2a9c 100644 --- a/src/pages/searchPage/index.tsx +++ b/src/pages/searchPage/index.tsx @@ -115,8 +115,8 @@ const SearchPage = () => { const list: any[] = [] arr.forEach((it) => { list.push({ - roll: search.modeId === 0 ? it.nums : 0, - length: search.modeId !== 0 ? it.nums * 100 : 0, + roll: search.modeId === 0 ? Number(it.nums) : 0, + length: search.modeId !== 0 ? Number(it.nums * 100) : 0, product_color_id: Number(it.id), }) })