Commit 3da2613c by chenwq

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

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