Commit defe8951 by 袁成

fix:增加工具栏按钮图标

parent 120cd9bd
......@@ -102,6 +102,7 @@ export default {
size: 'default',
text: '关闭',
type: 'text',
leftIcon: ''
},
layout: {},
name: 'ButtonControl_1',
......@@ -120,6 +121,10 @@ export default {
ACTIONS[item].title.indexOf('_') + 1,
ACTIONS[item].title.indexOf('[')
)
btnConfg.buttonDefine.config.leftIcon =
this.define.btnGroupAction &&
this.define.btnGroupAction[item] &&
this.define.btnGroupAction[item].btnIcon? this.define.btnGroupAction[item].btnIcon: ''
btnConfg.billStateDisable = this.getBillStateDisable(
ACTIONS[item].btnDisable, item
)
......@@ -202,6 +207,10 @@ export default {
.button-group {
display: flex;
padding: 0 10px;
/deep/ .ivu-divider, .ivu-divider-vertical {
height: 1.3em;
top: 0;
}
}
}
</style>
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment