feat: 修改商品上架字段

This commit is contained in:
duan
2025-03-10 16:36:11 +08:00
parent 62862afc25
commit a7e775f5e7
2 changed files with 2 additions and 2 deletions

View File

@@ -113,7 +113,7 @@ function handleSwitchChange(data: any) {
let obj = { let obj = {
type: data.isGrounding ? 'sku' : 'product', type: data.isGrounding ? 'sku' : 'product',
id: data.id, id: data.id,
isSale: data.status isSale: data.isSale
} }
UserAPI.onOff(obj); UserAPI.onOff(obj);
} }

View File

@@ -82,7 +82,7 @@ const contentConfig: IContentConfig<UserPageQuery> = {
{ {
label: "上架", label: "上架",
align: "center", align: "center",
prop: "status", prop: "isSale",
templet: "custom", templet: "custom",
slotName: "shangjia", slotName: "shangjia",
}, },