💊 fix: 修复bug
This commit is contained in:
parent
1338f0c5ff
commit
70a8ae704e
File diff suppressed because it is too large
Load Diff
|
@ -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 (
|
||||
|
|
Loading…
Reference in New Issue