feat: 售罄字段修改
This commit is contained in:
parent
188aad8035
commit
71e35528c8
|
|
@ -245,7 +245,7 @@ function handleSwitchChange(data: any) {
|
|||
// 售罄
|
||||
function handleSwitchChangeTwo(data: any) {
|
||||
let obj = {
|
||||
type: data.type == "sku" ? "sku" : "product",
|
||||
type: data.specInfo ? "sku" : "product",
|
||||
id: data.id,
|
||||
isSoldOut: data.isSoldStock,
|
||||
};
|
||||
|
|
|
|||
Loading…
Reference in New Issue