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=='特价' ? '特价' : '' } }) }