From b64360896e4281c38d0409b2cf0c2cb2002c32e8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E2=80=98mahaoran=E2=80=99?= <2570310046@qq.com> Date: Wed, 13 Nov 2024 22:37:49 +0800 Subject: [PATCH] =?UTF-8?q?=E7=AC=AC=E4=B8=80=E6=AC=A1=E4=BC=98=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/product/attributeGroup.js | 7 +++++++ src/views/product/attributeGroup/index.vue | 4 ++-- 2 files changed, 9 insertions(+), 2 deletions(-) diff --git a/src/api/product/attributeGroup.js b/src/api/product/attributeGroup.js index 22544a2..ac22d49 100644 --- a/src/api/product/attributeGroup.js +++ b/src/api/product/attributeGroup.js @@ -35,6 +35,13 @@ export function updateAttributeGroup(data) { }) } +export function updAttributeGroup(data) { + return request({ + url: '/product/attributeGroup/upd', + method: 'post', + data: data + }) +} // 删除属性组 export function delAttributeGroup(id) { return request({ diff --git a/src/views/product/attributeGroup/index.vue b/src/views/product/attributeGroup/index.vue index 4a3b7df..0785b5c 100644 --- a/src/views/product/attributeGroup/index.vue +++ b/src/views/product/attributeGroup/index.vue @@ -141,7 +141,7 @@ - +