feat: 商品上架优化
This commit is contained in:
@@ -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",
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user