diff --git a/pages/admin/products.vue b/pages/admin/products.vue index f0933fc..4a0eccf 100644 --- a/pages/admin/products.vue +++ b/pages/admin/products.vue @@ -140,7 +140,7 @@ export default { cancelButtonText: '取消', type: 'warning' }).then(() => { - _ts.$axios.$patch('/api/admin/product/update-status', { + _ts.$axios.$patch('/api/product/update-status', { idProduct: product.idProduct, status: status }).then(function (res) {