feat: 商品上架优化

This commit is contained in:
duan
2025-03-06 10:09:55 +08:00
parent 8838df65fb
commit a8a8a58cad
4 changed files with 14 additions and 5 deletions

View File

@@ -43,7 +43,7 @@ const contentConfig: IContentConfig<UserPageQuery> = {
id: data.id,
isSale: data.value
}
// return UserAPI.onOff(obj);
return UserAPI.onOff(obj);
},
deleteAction: UserAPI.deleteByIds,
importsAction(data) {
@@ -82,7 +82,7 @@ const contentConfig: IContentConfig<UserPageQuery> = {
{
label: "上架",
align: "center",
prop: "isSale",
prop: "status",
templet: "switch",
slotName: "status",
},