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 @@
-
-
+
@@ -24,8 +24,9 @@
icon="el-icon-plus"
size="mini"
@click="handleAdd"
- v-hasPermi="['brand:brand:add']"
- >新增
+ v-hasPermi="['product:brand:add']"
+ >新增
+
修改
+ v-hasPermi="['product:brand:edit']"
+ >修改
+
删除
+ v-hasPermi="['product:brand:remove']"
+ >删除
+
导出
+ v-hasPermi="['product:brand:export']"
+ >导出
+
-
-
- 品牌数据列表
-
-
-
-
-
-
-
-
+
+
+
+
+
-
+
-
-
-
-
-
-
+
+
+
+
+
+
+
修改
+ v-hasPermi="['product:brand:edit']"
+ >修改
+
删除
+ v-hasPermi="['product:brand:remove']"
+ >删除
+
@@ -133,38 +134,35 @@
-
+
-
+
-
+
+
+
+
-
-
-
-
-
-