diff --git a/litemall-admin/src/api/goods.js b/litemall-admin/src/api/goods.js index 0ef2834c..89846c3e 100644 --- a/litemall-admin/src/api/goods.js +++ b/litemall-admin/src/api/goods.js @@ -16,6 +16,14 @@ export function deleteGoods(data) { }) } +export function deleteGoodsBatch(data) { + return request({ + url: '/goods/deleteBatch', + method: 'post', + data + }) +} + export function publishGoods(data) { return request({ url: '/goods/create', diff --git a/litemall-admin/src/views/goods/create.vue b/litemall-admin/src/views/goods/create.vue index 312edefa..06a79139 100644 --- a/litemall-admin/src/views/goods/create.vue +++ b/litemall-admin/src/views/goods/create.vue @@ -127,11 +127,13 @@ - - - + - - - - - - + + +