💊 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,
|
table_index,
|
||||||
directResellerId,
|
directResellerId,
|
||||||
productType,
|
productType,
|
||||||
checkedProduct
|
checkedProduct,
|
||||||
|
isCoupon
|
||||||
} = props
|
} = props
|
||||||
|
|
||||||
// 如果需要 通过ref 控制此组件 放开注释
|
// 如果需要 通过ref 控制此组件 放开注释
|
||||||
|
@ -124,7 +125,12 @@ const UseGoodsScopePop = forwardRef((props, ref) => {
|
||||||
switch (type) {
|
switch (type) {
|
||||||
case "addKnockGold":
|
case "addKnockGold":
|
||||||
return (
|
return (
|
||||||
<KnockGold className="addKnockGold" data={productData} ref={knockGold_el} ysf={true} />
|
<KnockGold
|
||||||
|
className="addKnockGold"
|
||||||
|
data={productData}
|
||||||
|
ref={knockGold_el}
|
||||||
|
ysf={isCoupon && true}
|
||||||
|
/>
|
||||||
)
|
)
|
||||||
case "addProduct":
|
case "addProduct":
|
||||||
return (
|
return (
|
||||||
|
|
Loading…
Reference in New Issue