From 4495b7c736945c6ffd41f8dbf68a2023cf57848e Mon Sep 17 00:00:00 2001 From: Haiyi <1021441632@qq.com> Date: Mon, 21 Nov 2022 10:23:28 +0800 Subject: [PATCH] =?UTF-8?q?=F0=9F=90=9E=20fix(ID1000777):=E3=80=90?= =?UTF-8?q?=E8=AE=A2=E5=8D=95=E8=AF=A6=E6=83=85=E3=80=91=E7=94=B3=E8=AF=B7?= =?UTF-8?q?=E9=80=80=E8=B4=A7=EF=BC=8C=E5=BD=93=E9=80=80=E8=B4=A7=E5=95=86?= =?UTF-8?q?=E5=93=81=E4=B8=BA0=E6=97=B6=EF=BC=8C=E7=BD=AE=E7=81=B0?= =?UTF-8?q?=E7=A1=AE=E8=AE=A4=E9=80=80=E8=B4=A7=E6=8C=89=E9=92=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- project.private.config.json | 2 +- src/pages/applyGoods/index.tsx | 5 ++--- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/project.private.config.json b/project.private.config.json index 8bee24a..7935f02 100644 --- a/project.private.config.json +++ b/project.private.config.json @@ -222,7 +222,7 @@ { "name": "", "pathName": "pages/applyGoods/index", - "query": "orderId=31743", + "query": "orderId=31776", "launchMode": "default", "scene": null } diff --git a/src/pages/applyGoods/index.tsx b/src/pages/applyGoods/index.tsx index 8106f0f..69ed881 100644 --- a/src/pages/applyGoods/index.tsx +++ b/src/pages/applyGoods/index.tsx @@ -206,14 +206,13 @@ export default () => { const isDisabled = useMemo(() => { if (Query.GoodStatus !== '' && Query.return_explain !== '' && - totalNums > 0 && - Query.GoodStatus !== '' + totalNums > 0 ) { return false } else { return true } - }, [Query]) + }, [Query, totalNums]) ///获取退货原因 const { fetchData: resonFetch } = mpenumreturnOrderreturnReason()