💊 fix: 修复bug

This commit is contained in:
wangsongsole 2023-08-01 10:41:36 +08:00
parent 1338f0c5ff
commit 70a8ae704e
2 changed files with 597 additions and 649 deletions

File diff suppressed because it is too large Load Diff

View File

@ -18,7 +18,8 @@ const UseGoodsScopePop = forwardRef((props, ref) => {
table_index,
directResellerId,
productType,
checkedProduct
checkedProduct,
isCoupon
} = props
// ref
@ -124,7 +125,12 @@ const UseGoodsScopePop = forwardRef((props, ref) => {
switch (type) {
case "addKnockGold":
return (
<KnockGold className="addKnockGold" data={productData} ref={knockGold_el} ysf={true} />
<KnockGold
className="addKnockGold"
data={productData}
ref={knockGold_el}
ysf={isCoupon && true}
/>
)
case "addProduct":
return (