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()