|
@@ -4,13 +4,12 @@
|
|
<div style="margin: 10px 12px;float: left;">
|
|
<div style="margin: 10px 12px;float: left;">
|
|
<el-button
|
|
<el-button
|
|
v-for="(item,index) in customButton"
|
|
v-for="(item,index) in customButton"
|
|
- :key="index"
|
|
|
|
:type="item.type"
|
|
:type="item.type"
|
|
:size="item.size"
|
|
:size="item.size"
|
|
:icon="item.icon"
|
|
:icon="item.icon"
|
|
:plain="item.plain?item.plain:false"
|
|
:plain="item.plain?item.plain:false"
|
|
:disabled="item.disabled"
|
|
:disabled="item.disabled"
|
|
- v-hasPermi="item.hasPermi?item.hasPermi:['']"
|
|
|
|
|
|
+ v-hasPermi="item.hasPermi?item.hasPermi:hasPermi.lookup"
|
|
@click="buttonList(item)">
|
|
@click="buttonList(item)">
|
|
{{ item.name }}
|
|
{{ item.name }}
|
|
</el-button>
|
|
</el-button>
|