feat: 售罄字段修改
This commit is contained in:
@@ -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,
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user