From f20b8662861b026dc17ead1e401f2f6994787e64 Mon Sep 17 00:00:00 2001 From: lyp Date: Thu, 5 Jun 2025 15:09:44 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/menu/MenuWithBottomButton.tsx | 2 +- src/route/CopyrightGgoods/CopyrightGgoods.tsx | 2 +- src/route/index/Index.tsx | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/components/menu/MenuWithBottomButton.tsx b/src/components/menu/MenuWithBottomButton.tsx index 3bd890f..7894ec9 100644 --- a/src/components/menu/MenuWithBottomButton.tsx +++ b/src/components/menu/MenuWithBottomButton.tsx @@ -73,7 +73,7 @@ export default function MenuWithTopButton(props: IMenuWithTopButton) { copyrightDate: props.copyrightDate, copyrightLanguage: props.copyrightLanguage, copyrightType: props.copyrightType, - specialPrice: props.specialPrice, + goodsFlag: props.specialPrice, } }) } diff --git a/src/route/CopyrightGgoods/CopyrightGgoods.tsx b/src/route/CopyrightGgoods/CopyrightGgoods.tsx index ddcbe14..9c5739c 100644 --- a/src/route/CopyrightGgoods/CopyrightGgoods.tsx +++ b/src/route/CopyrightGgoods/CopyrightGgoods.tsx @@ -61,7 +61,7 @@ export default function CopyrightGgoods() { const copyrightDate = state ? state.copyrightDate : ''; // 版权日期 const copyrightLanguage = state ? state.copyrightLanguage : ''; // 开发语言 // const copyrightType = state ? state.copyrightType : ''; // 软著类型 - const goodsFlag = state ? state.specialPrice : ''; // 商品特价标识 + const goodsFlag = state ? state.goodsFlag : ''; // 商品特价标识 const [data, setData] = useState([]); // 表格数据 diff --git a/src/route/index/Index.tsx b/src/route/index/Index.tsx index a1de3d4..9c476b0 100644 --- a/src/route/index/Index.tsx +++ b/src/route/index/Index.tsx @@ -915,7 +915,7 @@ export default function Index() { copyrightLanguage: copyrightLanguage, copyrightType: copyrightType, // 新增特价标识 - goodsFlag: specialPrice ? '特价' : '' + goodsFlag: specialPrice=='特价' ? '特价' : '' } }) }