From 94eb78221194251c054073c2bb905e6e54d9d533 Mon Sep 17 00:00:00 2001 From: wxy Date: Fri, 10 May 2024 17:30:33 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/product/attrInfo.js | 2 +- src/views/product/brand/index.vue | 123 ++++++++++++------------ src/views/product/evaluate/index.vue | 6 +- src/views/product/info/index.vue | 137 +++++++++++++++++++-------- src/views/product/stock/index.vue | 2 - src/views/product/type/index.vue | 21 ++-- 6 files changed, 170 insertions(+), 121 deletions(-) diff --git a/src/api/product/attrInfo.js b/src/api/product/attrInfo.js index b961658..61316f6 100644 --- a/src/api/product/attrInfo.js +++ b/src/api/product/attrInfo.js @@ -29,7 +29,7 @@ export function addAttrInfo(data) { // 修改品牌信息 export function updateAttrInfo(data) { return request({ - url: '/product/attrInfo/'+data.id, + url: '/product/attrInfo/', method: 'put', data: data }) diff --git a/src/views/product/brand/index.vue b/src/views/product/brand/index.vue index 580838e..872c449 100644 --- a/src/views/product/brand/index.vue +++ b/src/views/product/brand/index.vue @@ -1,12 +1,12 @@