Commit 3da2613c by chenwq

fix(品牌管理): 修改品牌添加按钮的显示条件和样式位置

1 parent b5e9cd6a
...@@ -24,7 +24,7 @@ ...@@ -24,7 +24,7 @@
<el-button <el-button
size="small" size="small"
icon="el-icon-plus" icon="el-icon-plus"
v-if="merchantId && configInfo.length != 10" v-if="merchantId && configInfo.length != 30"
@click="bandleAddBrand" @click="bandleAddBrand"
> >
新增 新增
...@@ -1231,7 +1231,7 @@ export default { ...@@ -1231,7 +1231,7 @@ export default {
this.exampleVisible = false this.exampleVisible = false
}, },
findParentIndexBySubItemId(data, category) { findParentIndexBySubItemId(data, category) {
return data.findIndex(parent => return data.findIndex(parent =>
parent.children.some(subItem => subItem.category === category) parent.children.some(subItem => subItem.category === category)
) )
}, },
...@@ -1730,7 +1730,7 @@ export default { ...@@ -1730,7 +1730,7 @@ export default {
.add-brand { .add-brand {
position: absolute; position: absolute;
right: 20px; right: 20px;
top: 24px; top: 64px;
cursor: pointer; cursor: pointer;
z-index: 100; z-index: 100;
} }
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!