diff --git a/src/api/product/attribute.js b/src/api/product/attribute.js
index 0763596..1be14df 100644
--- a/src/api/product/attribute.js
+++ b/src/api/product/attribute.js
@@ -38,3 +38,10 @@ export function insertAttributeGroup(attributeGroupReq) {
data: attributeGroupReq
})
}
+
+export function deleteAttributeById(groupId) {
+ return request({
+ url: '/product/attributeGroup/deleteAttributeById?groupId='+groupId,
+ method: 'get'
+ })
+}
diff --git a/src/views/product/attribute/attributeGroup.vue b/src/views/product/attribute/attributeGroup.vue
index 56ba8fd..8f96426 100644
--- a/src/views/product/attribute/attributeGroup.vue
+++ b/src/views/product/attribute/attributeGroup.vue
@@ -60,11 +60,11 @@
编辑
+ type="danger"
+ @click="handleEdit(scope.$index, scope.row)">删除
删除
+ @click="handleDelete(scope.$index, scope.row)">修改
@@ -113,7 +113,7 @@