feat: 修改商品上架字段
This commit is contained in:
@@ -113,7 +113,7 @@ function handleSwitchChange(data: any) {
|
||||
let obj = {
|
||||
type: data.isGrounding ? 'sku' : 'product',
|
||||
id: data.id,
|
||||
isSale: data.status
|
||||
isSale: data.isSale
|
||||
}
|
||||
UserAPI.onOff(obj);
|
||||
}
|
||||
|
||||
@@ -82,7 +82,7 @@ const contentConfig: IContentConfig<UserPageQuery> = {
|
||||
{
|
||||
label: "上架",
|
||||
align: "center",
|
||||
prop: "status",
|
||||
prop: "isSale",
|
||||
templet: "custom",
|
||||
slotName: "shangjia",
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user