diff --git a/src/api/product/info.js b/src/api/product/info.js index e15e6f7..c668d71 100644 --- a/src/api/product/info.js +++ b/src/api/product/info.js @@ -36,9 +36,9 @@ export function addInfo(data) { // 修改商品信息 export function updateInfo(data) { return request({ - url: '/product/info/'+data.id, + url: '/product/info/'+data.projectAddModel.id, method: 'put', - data: data + data: data.projectAddModel }) } diff --git a/src/views/product/info/index.vue b/src/views/product/info/index.vue index 5e8c755..213acca 100644 --- a/src/views/product/info/index.vue +++ b/src/views/product/info/index.vue @@ -214,7 +214,7 @@
- + + + +