diff --git a/src/api/product/info.js b/src/api/product/info.js index e15e6f7..0f1cf09 100644 --- a/src/api/product/info.js +++ b/src/api/product/info.js @@ -36,7 +36,7 @@ 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 }) diff --git a/src/views/product/category/index.vue b/src/views/product/category/index.vue index 1cbcb67..a348143 100644 --- a/src/views/product/category/index.vue +++ b/src/views/product/category/index.vue @@ -153,14 +153,15 @@ - + - + {{form}} +