Commit e1a4ef32 authored by 前端-黄佳鑫's avatar 前端-黄佳鑫

fix: 修复比价 20352

parent a8ad047f
......@@ -264,6 +264,13 @@ const ContrastLyout1: React.FC<IProps> = (props: any) => {
fetchTableData(turn, idx, page);
}
useEffect(() => {
if (!isEmpty(context)) {
let priceContrast = (context.priceContrast === 1 ? PRICECONTRAST_TYPE.UNDECRYPTED : PRICECONTRAST_TYPE.UNENCRYPTED);
setEncrypt(priceContrast)
}
}, [context])
return (
<BidDetailContext.Provider value={soure[idx]}>
<Card
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment